User Tools

Site Tools


ssh

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ssh [2022/03/23 08:33] jansenssh [2024/03/14 09:28] (current) jansen
Line 6: Line 6:
 If you do not have a personal machine you can use the ''%%ssh.strw.leidenuniv.nl%%'' virtual machine to log into our systems and continue from there with an ssh to any of the science servers or cluster machines. \\ If you do not have a personal machine you can use the ''%%ssh.strw.leidenuniv.nl%%'' virtual machine to log into our systems and continue from there with an ssh to any of the science servers or cluster machines. \\
 Note that the %%ssh.strw.leidenuniv.nl%% machine is just a gateway; it is not meant for any type of data processing, desktop environments etc. Note that the %%ssh.strw.leidenuniv.nl%% machine is just a gateway; it is not meant for any type of data processing, desktop environments etc.
 +
 +See our [[ssh:tipsandtricks|Tips and Tricks]] session for 'direct access' to your server.
  
 === Special access === === Special access ===
Line 112: Line 114:
 === Using the keyring and ssh agent === === Using the keyring and ssh agent ===
 Linx and MacOS offer a service to unlock your ssh keys (and other secrets) using your login password. This simplifies the use of passphrases on your keys, and you will only be prompted for the passphrase once when logging in (or not at all, if the session re-uses the login password).  Linx and MacOS offer a service to unlock your ssh keys (and other secrets) using your login password. This simplifies the use of passphrases on your keys, and you will only be prompted for the passphrase once when logging in (or not at all, if the session re-uses the login password). 
 +
 +=== Configuration file ===
 +Configuration for ssh can be stored at the client side (ie: on your laptop) in ''$HOME/.ssh/config''. This is a text file that can contain general options (in use on every ssh connection, unless you override them), and settings for specific hosts. A simple example:
 +  
 +    Compression             yes
 +    
 +    Host *.strw.leidenuniv.nl
 +         user mystrwusername
 +
 +For more details, see the ''man ssh_config'' manual page.
 +
ssh.1648024408.txt.gz · Last modified: 2022/03/23 08:33 by jansen