Skip to content

Passwordless ssh

Austin Kong edited this page Jul 26, 2016 · 3 revisions

Setup passwordless ssh with keys

local$ ssh-keygen -t dsa
local$ scp ~/.ssh/id_dsa.pub remote:~/
local$ ssh username@remote
remote$ cat ~/id_dsa.pub >> ~/.ssh/authorized_keys
remote$ chmod 600 ~/.ssh/authorized_keys
remote$ rm ~/id_dsa.pub
remote$ exit
local$ ssh username@remote

Link dump

Clone this wiki locally