Difference between revisions of "~/.ssh/known hosts"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 5: Line 5:
  
  
  [[ssh-keygen]] -R SERVER_NAME -R Removes all keys belonging to hostname from a known_hosts file
+
  [[ssh-keygen]] -R SERVER_NAME       -R Removes all keys belonging to hostname from a known_hosts file
  
  
Line 12: Line 12:
  
 
== See also ==
 
== See also ==
* {{ssh}}
+
* {{ssh-keyscan}}
 +
* {{ssh-keygen}}
 +
* {{ssh (openSSH)}}
  
 
[[Category:ssh]]
 
[[Category:ssh]]

Latest revision as of 12:02, 15 February 2024



ssh-keygen -R SERVER_NAME        -R Removes all keys belonging to hostname from a known_hosts file


ssh-keyscan github.com >> ~/.ssh/known_hosts


See also[edit]

Advertising: