User Tools

Site Tools


linux:ssh_keys

SSH Authentification with keyfiles

Creating keys

You have to do the following steps on every client you want to use.
Use the following command to create a Public and a Private Key.
If you want to use no password at all (which is not recommendet) just create the key with an empty Password.

ssh-keygen -t rsa

Exchange the keys:

scp admin@host1:~/.ssh/id_rsa.pub admin@localhost:~/id_rsa.pub.host1
cat ~/id_rsa.pub.host1 > ~/.ssh/authorized_keys
rm ~/id_rsa.pub.host1

skull 2011/06/18 22:34

linux/ssh_keys.txt · Last modified: 2011/07/20 02:07 by skull@darktemple.ch