Jump to content

SSH No Password

From MattWiki

From the Client & User Run

ssh-keygen -t rsa

Then Run

cd ~/.ssh
cp id_rsa.pub $USER-`hostname -s`.pub
scp $USER-`hostname -s`.pub <SERVER>:~/.ssh

From the Server Now Run

cd
cd .ssh
cat <USER>-<CLIENT>.pub >> authorized_keys
chmod 644 authorized_key*