?
Solved

How to disable strict host key check in command line option while doing ssh ?

Posted on 2010-01-06
2
Medium Priority
?
1,651 Views
Last Modified: 2012-05-08
Sometimes due to reinstall or new key generation, we denied to ssh to the remote box.
To solve it, generally we delete that particular line from the known_hosts or put
"StrictHostKeyChecking no" in config file.

Is there a way to disable strict host key check in command line option while doing ssh ?
0
Comment
Question by:beer9
2 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 1000 total points
ID: 26190141
ssh -o "StrictHostKeyChecking=no" user@host
wmp
0
 

Author Closing Comment

by:beer9
ID: 31673453
Thank you :)
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Secure Shell (SSH) is a network protocol for secure data communication, mainly used to administer remote Unix / Linux servers via command line. But it also allows the user to open a secure tunnel between a client and a server where he can send any k…
Hello to you all, I hear of many people congratulate AWS (Amazon Web Services) on how easy it is to spin up and create new EC2 (Elastic Compute Cloud) instances, but then fail and struggle to connect to them using simple tools such as SSH (Secure…
Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question