Bug 725945
Summary: | [virt-viewer]Connections over SSH don't work well with SPICE | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | zhe peng <zpeng> |
Component: | virt-viewer | Assignee: | Daniel Berrangé <berrange> |
Status: | CLOSED NOTABUG | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 6.2 | CC: | dallan, dyuan, mzhan, rwu |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-09-27 20:18:31 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
zhe peng
2011-07-27 05:49:48 UTC
in same enviroment, use command: #virt-viewer --direct -c qemu+ssh://10.66.6.166/system demo --debug it can worked well. Your SSH client is prompting for passwords, which suggests you don't have any SSH keys + ssh agent configured. It is not really practical to support SSH passwords with SPICE, since a connection to the SPICE server requires about 8 TCP connections. This is why you see soo many password prompts. Can you configure an SSH AGENT + public keys and then re-test remote access. Hi Daniel: I cnfig SSH keys , and re-test, it worked well. configure SSH public keys #ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /root/.ssh/id_rsa. Your public key has been saved in /root/.ssh/id_rsa.pub. .......... #ssh-copy-id -i /root/.ssh/id_rsa.pub root.6.166 then test remote connect #virt-viewer -c qemu+ssh://10.66.6.166/system demo --debug it can worked as expect,so is it the different behavior with vnc?if yes,i will close this bug and write new test cases for this. and i have an additional question:Does spice support TLS/TCP connection? like -c qemu+tls://$ip or -c qemu+tcp://$ip ?please help confirm , thanks in advance. Yes, this is different behaviour than with VNC, because VNC only uses a single SSH connection, while SPICE requires multiple. Yes, SPICE does support TLS & TCP connection URIs with libvirt. thanks your response, i test TLS & TCP URIs for spice and spice with multihead, all work now, i will write new test cases for this. (In reply to comment #3) > it can worked as expect,so is it the different behavior with vnc?if yes,i will > close this bug and write new test cases for this. Closing as NOTABUG. |