Darkland | net

Passwordless SSH Login

Published on 03 August, 2020 by Amanda

ssh-keygen -t rsa -b 4096
cp $HOME/id_rsa.pub $HOME/authorized_keys
rsync -rac --progress $HOME/.ssh/authorized_keys user@server:./.ssh/
Adding keys to server's authorized_keys file: cat $HOME/.ssh/[foreign key file] >> $HOME/.ssh/authorized_keys
Back