-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tunnel via SSH? #143
Comments
Have a look at #89, you may be running into the same problem. |
Assuming that's the issue, I think you could potentially work around it by implementing your own dialer instead of using the pre-fab "remote" one. |
I am having a similar issue, the error returned by libvirt server is: I am using dialer := dialers.NewRemote(address, dialers.UsePort(port))
conn = libvirt.NewWithDialer(dialer)
uri := fmt.Sprintf("qemu+ssh://%s@%s/system?keyfile=id_rsa&no_tty=1", user, address)
err = conn.ConnectToURI(libvirt.ConnectURI(uri)) |
Since #140 was implemented and
New()
deprecated, how is one supposed to do aqemu+ssh
connection?I was under the impression this should work:
But it just hangs.
I find it hard to believe SSH tunneling was broken by oversight considering it's treated as a first-class connection URI upstream.
The text was updated successfully, but these errors were encountered: