Ok, so you've SSHd onto your favourite box, but when you try to connect to another linux server, it asks you for a password.
Huh? you say? It's ssupposed to use my private key!
First check if it's accessing the correct directory
#ssh server -l phil -v
if the last few lines contain /root/.ssh/id_rsa or something similar
make sure those files exist
Also make sure in /etc/ssh_config
these lines exist
Host *
ForwardAgentYes
If this is still not working
on your mac run
#ssh-add
tada!
Huh? you say? It's ssupposed to use my private key!
First check if it's accessing the correct directory
#ssh server -l phil -v
if the last few lines contain /root/.ssh/id_rsa or something similar
make sure those files exist
Also make sure in /etc/ssh_config
these lines exist
Host *
ForwardAgentYes
If this is still not working
on your mac run
#ssh-add
tada!
No comments:
Post a Comment