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
ssh [2023/01/06 20:35] deulssh [2024/03/14 09:28] (current) jansen
Line 114: 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.txt · Last modified: 2024/03/14 09:28 by jansen