Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
blocks:ssh [2025-11-14 11:53] mattiasblocks:ssh [2026-01-12 08:11] (current) – [Warnings] admin
Line 137: Line 137:
  
 ==== Warnings ==== ==== Warnings ====
-If you log on to a computer that you e.g reimage you may see a warning like thisIt may look a bit scary but the underlying reason is in that case that you already used ssh wo this ip or domain name and is is associated with differens ssh id keys. The intention of such warning is to make the user to consider if it is legit or not. +When using //ssh// to log on to a new computer or one that has just been restored from a disk image, you may see a warning like what's shown belowThe reason for such a warning is that you've previously used //ssh// to access this IP address or domain nameand it's now associated with a different //ssh id//. The intention of such warning is to make the user to consider if it is legit or not.  
 {{:blocks:ssh:screenshot_2025-11-14_115333.png?600|}} {{:blocks:ssh:screenshot_2025-11-14_115333.png?600|}}
  
-Rather that editing the file the following commands can be used in the terminal to clear the associated keys and get ready for new ones:+Rather that editing the file that keeps track of those IDs, the following commands can be used in the terminal to clear the associated keys and get ready for new ones: 
 <code> <code>
 ssh-keygen -R <ip or domain>  ssh-keygen -R <ip or domain> 
 </code> </code>
 +
 Example: Example:
 +
 <code> <code>
 ssh-keygen -R 10.0.1.195 ssh-keygen -R 10.0.1.195
 </code> </code>