User Tools

Site Tools


network: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
network:ssh [2022/07/01 20:10] – added yubico ssh keygen section renenetwork:ssh [2024/11/29 20:27] (current) – passphrase change and no host check rene
Line 10: Line 10:
 ssh <user>@server -D <localIP>:<localPort> ssh <user>@server -D <localIP>:<localPort>
 </code> </code>
- + 
 +=== SSH no host check === 
 +<code> 
 +ssh <user>@server -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null 
 +</code> 
 === Create SSH key pair === === Create SSH key pair ===
 <code> <code>
Line 24: Line 29:
 === Create SSH key pair with Yubikey === === Create SSH key pair with Yubikey ===
 Prerequsites: Prerequsites:
-  * openssh v8++  * openssh v8.2+
   * yubikey fw v5.2.3+   * yubikey fw v5.2.3+
-  * libfido2 lib installed+  * libfido2 lib installed on client
  
 Check openssh version. Check openssh version.
Line 40: Line 45:
 Create the key-pair Create the key-pair
 <code> <code>
-ssh-keygen -t ed25519-sk -C "<key comment>" -f ~/.ssh/<keyname>+ssh-keygen -o -a 100 -t ed25519-sk -C "<key comment>" -f ~/.ssh/<keyname>
 </code> </code>
  
 +=== Change key comment ===
 +<code>
 +ssh-keygen -c -C "<key comment>" -f ~/.ssh/<keyname>
 +</code>
 +
 +=== Change passphrase ===
 +<code>
 +ssh-keygen -p -f ~/.ssh/<keyname>
 +</code>
  
 === GIT Specify Key === === GIT Specify Key ===
network/ssh.1656699003.txt.gz · Last modified: 2022/07/01 20:10 by rene