advanced code snippet search
jnunemaker on 09/07/06
textmate Shell Bash java unix rsync osx linux cli ssh scp consolefu tomcat cpio
5 people have marked this snippet as a favorite
ssh-keygen -t dsassh user@host 'cat >> .ssh/authorizedkeys' < .ssh/id_dsa.pub
Report this snippet
There is also an easier way for doing the last step:
It will add your public key to the autorized keys list on the remote host
thanks, but ssh-copy-id doesn't isn't on os x by default.
You need to login to post a comment.