User Tools

Site Tools


wiki:advanced:authentication:passwordless-ssh

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

wiki:advanced:authentication:passwordless-ssh [2010/06/15 12:22]
bmullan small spelling etc fixes
wiki:advanced:authentication:passwordless-ssh [2013/03/08 13:31]
Line 1: Line 1:
-You'll need to generate a SSH key via the ssh-keygen command. Please choose which key you want to generate (we recommend dsa): 
  
-<​code>​ 
-$ ssh-keygen -t rsa''​ 
-</​code>​ 
- 
-or 
- 
-<​code>​ 
-$ ssh-keygen -t dsa 
-</​code>​ 
- 
-This will create following files inside your $HOME/.ssh/ directory: 
- 
-<​file>​ 
-~/​.ssh/​id_{rsa,​dsa} 
-~/​.ssh/​id_{rsa,​dsa}.pub 
-</​file>​ 
- 
-You'll need to transfer the public part of the key to the wanted server. You can do this using the ssh-copy-id command: ​ 
- 
-<​code>​ 
-$ ssh-copy-id -i ~/​.ssh/​id_rsa.pub user@remote-system 
-</​code>​ 
- 
-or 
- 
-<​code>​ 
-$ ssh-copy-id -i /​.ssh/​id_dsa.pub user@remote-system 
-</​code>​ 
- 
-After the transfer you can add the path to the private part of the key to the session preferences inside x2goclient. x2goclient should now establish the connection without asking for a password by simply clicking on the session card view.  
wiki/advanced/authentication/passwordless-ssh.txt ยท Last modified: 2013/03/08 13:31 (external edit)