On Tue, Jul 27, 2004 at 01:05:27PM -0500, Harry Putnam wrote:
But creating a file authorized_keys that contains
host_reader(a)/home/reader/.ssh/id_rsa.pub (and id_dsa.pub
host_reader(a)/root/.ssh/id_rsa.pub (and id_dsa.pub)
Then puting that same file in /home/reader/.ssh and
/root/.ssh
(along with the public ids for:
host_fwobsd(a)/home/reader/.ssh
host_fwobsd(a)/root/.ssh/id_rsa.pub and id_dsa.pub
Note there is no output from:
sudo diff /root/.ssh/authorized_keys \
/home/reader/.ssh/authorized_keys
Please double-check the permissions on the respective users' ~/.ssh
directories and ~/.ssh/authorized_keys files. Both should be readable
by root, and neither should be group-writable.
and any xterm I open and type `ssh-agent --list' responds with:
SSH_AUTH_SOCK=/tmp/ssh-ZLkKhp5346/agent.5346; export SSH_AUTH_SOCK;
SSH_AGENT_PID=5347; export SSH_AGENT_PID;
echo Agent pid 5347;
[..]
I don't think this does what you think it does. Try 'ssh-add -l' to
query the list of keys which your current agent holds.
HTH,
Nalin