Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

ssh ignore host key verification

In your ~/.ssh/config (if this file doesn't exist, just create it):

Host *
    StrictHostKeyChecking no
    
Rather than adding it to your ~/.ssh/config file for all Host *, it would be a safer to specify a particular host.
You can also pass a parameter on the command-line like this:

ssh -o StrictHostKeyChecking=no yourHardenedHost.com
Source by www.middlewareinventory.com #
 
PREVIOUS NEXT
Tagged: #ssh #ignore #host #key #verification
ADD COMMENT
Topic
Name
1+2 =