For When You Can't Have The Real Thing
[ start | index | login ]
start > CentOS > 6 > ssh > Ignore Host-ID

Ignore Host-ID

Created by dave. Last edited by dave, 9 years and 329 days ago. Viewed 3,633 times. #2
[diff] [history] [edit] [rdf]


I want to ignore the host-ID on connection for ssh. Yes, I know it is a dumb idea.


Inline, ignore this time only:

ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no user@system

Permanent ignore examples, in ~/.ssh/config:

Host 192.168.1.*
   StrictHostKeyChecking no

Host * StrictHostKeyChecking no UserKnownHostsFile=/dev/null


no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful: | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt