This is an old revision of the document!
You'll need to generate a SSH key via the ssh-keygen command. Pleasen choose which key you wan't to generate (we recommend dsa):
$ ssh-keygen -t rsa''
or
$ ssh-keygen -t dsa
This will create following files inside your $HOME/.ssh/ directory:
~/.ssh/id_{rsa,dsa} ~/.ssh/id_{rsa,dsa}.pub
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:
$ ssh-copy-id -i ~/.ssh/id_rsa.pub user@remote-system
or
$ ssh-copy-id -i /.ssh/id_dsa.pub user@remote-system
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.