Passwordless SSH

From HW wiki
Jump to: navigation, search

Creating keys to passwordless SSH login


 ssh-keygen -t rsa
 ssh-copy-id -i ~/.ssh/ <login>

You will be asked for a password. Use the password you normally use in most labs at Karlovo namesti (password for the Novell account).

Test it:

 ssh <login>


  • Use puttygen to generate a key. Then save your private key and copy the public key from "Public key for pasting into OpenSSH authorized_key file" box.
  • Login to rtime (probably using PuTTY)
  • Run
 mkdir .ssh
 chmod 700 .ssh
 echo "<paste you key here>" >> .ssh/authorized_keys
 chmod 600 .ssh/authorized_keys


  • In PuTTY create a session containing the address of the server, port and in section SSH-Auth choose the location of your private key file saved with puttygen
  • Save the session under some name, lets say 'mysession'
  • In TortoiseSVN, use the session name instead of server address, i.e. instead of