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

From wikieduonline
Jump to navigation Jump to search
(Created page with " ssh-keygen -R SERVER_NAME -R Removes all keys belonging to hostname from a known_hosts file == See also == * {{ssh}} Category:ssh")
Tags: Mobile web edit, Mobile edit
 
Line 1: Line 1:
 +
{{lowercase}}
  
  
Line 4: 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
+
 
 +
  [[ssh-keyscan]] github.com >> [[~/.ssh/known_hosts]]
  
  

Revision as of 13:41, 7 December 2021



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

Advertising: