SSH No Password - Wiki.mattrude.com

SSH No Password

From Wiki.mattrude.com

Jump to: navigation, search

From the Client & User Run

cd ~/.ssh
ssh-keygen -t dsa

Then Run

cp id_dsa.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*
Personal tools
Google AdSense