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
network:ssh [2022/07/09 07:36] – change key comment command added 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 46: Line 51:
 <code> <code>
 ssh-keygen -c -C "<key comment>" -f ~/.ssh/<keyname> ssh-keygen -c -C "<key comment>" -f ~/.ssh/<keyname>
 +</code>
 +
 +=== Change passphrase ===
 +<code>
 +ssh-keygen -p -f ~/.ssh/<keyname>
 </code> </code>
  
network/ssh.txt · Last modified: 2024/11/29 20:27 by rene