SSH Keys For Passwordless Entry

WARNING

Use this at your own risk.  We do not recomment this unless you have a reason.  If the machine you connect from is compromised in any way, the attacker can get into your CSE account.

 

On the machine you want to connect from

  1. Run: ssh-keygen -d
    This will create a .ssh directory with a public and private key
  2. Verify the permissions on the id_dsa private key are private (-rw-------).
  3. Verify the permissions of your .ssh directory is world readable (chmod 755 .ssh)
  4. Verify the permissions on the is_dsa.pub public key are world readable (-rw-r--r-- , or chmod 644 id_dsa.pub)
  5. No other files in .ssh need to be world readable except id_dsa.pub

 

On the machine you are connecting to

  1. Create a file called authorized_keys2 in your .ssh directory that contains the contents ofyour id_dsa.pub
  2. Verify the permissions ofauthorized_keys2 is private (-rw------- , or chmod 600 authorized_keys2)
  3. Make sure there are no line feeds in this file.

If you are using this within the CSE systems, follow all the steps on arctic. 
The last step would be: cp id_dsa.pub authorized_keys2

You can now connect to CSE systems without a password.