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 278 days ago. Viewed 3,540 times. #2
[diff] [history] [edit] [rdf]
labels
attachments
(2014-06-26)

Problem

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

Solution

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
   UserKnownHostsFile=/dev/null

Host * StrictHostKeyChecking no UserKnownHostsFile=/dev/null

(>>Source)

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:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt