SSH without a Password
Entry published jul 25 2005
- On the local machine run this (when it asks for a passphrase just hit return):
ssh-keygen -t rsa - Copy the newly created file from the local machine to the remote machine and append the key to the correct file:
scp ~/.ssh/id_rsa.pub remotemachine:~/.ssh/new_key
ssh remotemachine
cat ~/.ssh/new_key >> ~/.ssh/authorized_keys
rm ~/.ssh/new_key