server 1 which dials into server 2
ssh-keygen -t dsa -b 1024 (no password)
scp id_dsa.pub user@server2.com:/home/user/.ssh
server2:
[~/.ssh]# cat id_dsa.pub >> ./authorized_keys
But when I do ssh user@server2.com I get:
other-boxes-user@server2.com's password:
EDIT:
server1: ssh-keygen -t dsa -b 1024 (no password)
server1: ssh-copy-id -i ~/.ssh/id_dsa server2user@server2.com
server1: ssh server2user@server2.com -- get promoted for a password
How do I get the correct user used so I can login with no password?