Password-less SSH

From Augix' Wiki

Jump to: navigation, search


local-machine: cd .ssh/

local-machine: ssh-keygen -t dsa

local-machine: chmod 600 id_dsa

local-machine: scp id_dsa.pub account@remote-machine:

local-machine: ssh remote-machine -l account

remote-machine: cat id_dsa.pub >> .ssh/authorized_keys2

remote-machine: rm id_dsa.pub

remote-machine: logout

local-machine: ssh remote-machine -l account


Reference

Automatic backups with ssh and rsync howto. ssh without passwords

SSH without password

Personal tools