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 [2023/01/06 20:35] deulssh [2026/01/14 11:16] (current) – [Sterrewacht] jansen
Line 5: Line 5:
  
 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. Actually, limits are in place on the number of processes any user can have on this service, to make sute you use it just as a gateway, and not for anything else.
  
-See our [[ssh:tipsandtricks|Tips and Tricks]] session for 'direct access' to your server.+See our [[ssh:tipsandtricks|Tips and Tricks]] section for 'direct access' to your server.
  
-=== Special access === 
-Some places we visit (e.g. China or Iran) or some hotels abroad limit the internet access to web browsing only. Because you want more in such cases, the ssh server of the Sterrewacht now also serves the ssh protocol on web ports 80 and 443. So you can now get access to the Sterrewacht computer systems from those limiting environments using 
  
-  ssh ssh.strw.leidenuniv.nl -p 80 -l <your STRW accountname> 
- 
-With this type of connectivity you can add the tunnelling options (as indicated below) to gain connectivity to a windows remote desktop or your Linux VNC environment.  
  
 ===== Instituut Lorentz ===== ===== Instituut Lorentz =====
Line 114: Line 109:
 === 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, and also our [[ssh:tipsandtricks|Tips and Tricks]] page.
 +
ssh.1673037345.txt.gz · Last modified: by deul