Answers for "ssh without host key verification"

1

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
Posted by: Guest on March-30-2021

Browse Popular Code Answers by Language