I just reinstalled Linux on my laptop, and I'm trying to get SSH pubkey authentication working via X11 applications. Specifically, I'm trying to use baobab to display the usage of a remote filesystem, and I need to SSH in as root but root has no password, o I need to use an SSH key to authenticate.
In the terminal, if I ssh root@theserver I get right in with no password, but if I use Baobab or Nautilus to connect, it asks me for my password. How can I have it use my SSH key?
I'm using Gnome on Ubuntu 10.10 in case it matters. On my previous install this worked, and I don't know if I did something before to make it work. if so, I've forgotten what... In fact, my previous install would pop up an X11 dialog asking for my SSH private key password if I needed to unlock it. How do I make that happen again?
ssh-agentis not defunct, but still I can't get X11 apps to SSH in, even when I can from the terminal :-( – Josh Dec 1 '10 at 22:58/bin/dash(note: dash, not bash) from the Run command dialog with the “run in terminal” box checked (not via a terminal menu entry). In the terminal, typeexport. This shows the environment variables that are defined in your X session. What variables are there whose name begins withSSH_(i.e. the line readsexport SSH_…=…; the list is in alphabetical order)? – Gilles Dec 2 '10 at 19:52SSH_AGENT_PIDandSSH_AUTH_SOCK. The PID is correct and the socket file exists and is writable by me... – Josh Dec 2 '10 at 20:26