Jun
10
2010

passwordless SSH on osx

Use at your own risk people!
For user:
ssh-keygen -t dsa
cat ~/.ssh/id_dsa.pub | ssh example.com ‘cat >> ~/.ssh/authorized_keys; chmod 644 ~/.ssh/authorized_keys; cat ~/.ssh/authorized_keys’
For Root:
sudo ssh-keygen -t dsa
sudo cat /var/root/.ssh/id_dsa.pub | ssh root@example.com ‘cat >> ~/.ssh/authorized_keys; chmod 644 ~/.ssh/authorized_keys; cat ~/.ssh/authorized_keys’
Written by Joe in: Uncategorized |

No Comments »

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress | Aeros Theme | TheBuckmaker.com WordPress Themes