Monday, June 05, 2006

simplified ssh and ssh-agent

(condensed version of http://www.gentoo.org/doc/en/keychain-guide.xml)
ssh-keygen -t dsa
scp ~/.ssh/id_dsa.pub server_user@server:~/myhost.pub
ssh server_user@server "cat ~/myhost.pub >> ~/.ssh/authorized_keys"

ssh-agent
ssh-add id-dsa

No comments: