[libvirt-users] Issues Connecting to Remote Host Through SSH

T A timothy.c.anderson at gmail.com
Tue Jan 23 09:53:37 UTC 2018


Hello,

I've been unable to connect to a remote host from within my network using
the following argument.

virsh/virt-manager -c qemu+ssh://user@host:port/system

I've tried libssh & libssh2 as well. Using ssh just prompts me for the host
password indefinitely. When using libssh2 the connection is rejected.

The host computer is using a custom ssh port which I've added to the above
argument. Neither box has an enabled root user.

Remote box

$ cat /etc/debian_version
9.3

$ ssh -V
OpenSSH_7.4p1 Debian-10+deb9u2, OpenSSL 1.0.2l  25 May 2017

$ virsh --version
3.0.0

Host box

$ cat /etc/centos-release
CentOS Linux release 7.4.1708 (Core)

$ ssh -V
OpenSSH_7.4p1, OpenSSL 1.0.2k-fips  26 Jan 2017

$ virsh --version
3.2.0

Any help is greatly appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20180123/8c770597/attachment.htm>


More information about the libvirt-users mailing list