You are not logged in.
I have a libvirt + qemu/kvm setup that I can remote into with ssh. The initial ssh connection to the server is fine. However, when I want to view the VM, it prompts me for my ssh passphrase literally 10 times. The funny thing is, it actually works after that...
Any thoughts on the cause? I'm not sure what config files would be relevant here.
Last edited by Hspasta (2014-08-13 20:59:38)
Offline
Does using ssh verbosely help with the debugging?
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
I actually found out that running virt-manager under gnome doesn't require you to authenticate anymore past the initial connection to the server. The behavior in my previous post was from i3 although I don't understand why I would have this issue even after booting through gdm.
I guess this is partially solved. I need to figure out how the ssh credentials get cached in gnome so that I don't have to type my passphrase ten times in i3...
Offline
Use SSH keyfile to never be prompted.
Offline
I'm not sure what you mean by ssh keyfile, but I setup gnome-keyring for i3 and it works!
Offline
SSH keys serve as a means of identifying yourself to an SSH server using public-key cryptography and challenge-response authentication. One immediate advantage this method has over traditional password authentication is that you can be authenticated by the server without ever having to send your password over the network.
Last edited by Name Taken (2014-08-13 21:22:26)
Offline
Same problem here with i3 and virt-manager.
I use keychain to load my ssh-key and would like to avoid gnome-keyring, and will appreciate help in narrowing down the problem.
Offline
Awesome wm and virt-manager here.
Adding something like this to .xinit works for virt-manager but it'll ask for ssh passphrase right after startx command.
~/.xinitrc
keychain ~/.ssh/id_ecdsa
[ -f ~/.keychain/$HOSTNAME-sh ] && . ~/.keychain/$HOSTNAME-sh 2>/dev/null
[ -f ~/.keychain/$HOSTNAME-sh-gpg ] && . ~/.keychain/$HOSTNAME-sh-gpg 2>/dev/null
...
exec awesome
Offline