secure shell stuff

keygen

ssh-keygen -t rsa -b 2048

choose an empty passphrase and the default file locations.

remote login

copy $HOME/.ssh/id_rsa.pub to the remote host $HOME/.ssh/authozized_keys

cat ~/.ssh/id_rsa.pub | ssh user@host "cat >> .ssh/authorized_keys

when everything worked, this is the last time you need to enter you password when sshing to user@host.

 
wiki/ssh.txt · Last modified: 26.02.2013 21:57 by 81.57.94.90