www.mamboteam.com
Home arrow Blog arrow How to disable SSH host key checking
 
 
Main Menu
Home
Company
Services
Resources
News
Blog
Contact Us
RSS Feed
Embedded Perspective

Subscribe to our Newsletter for insights into Embedded Systems development.






Latest News
How to disable SSH host key checking Print E-mail

This article presents a very nice overview of options to disable ssh host key checking.  When working with embedded systems where you are constantly reloading the rootfs, it is really annoying to have to edit your ~/.ssh/known_hosts every time you update the rootfs on the target device.  The solution is to simply disable host key checking for your local subnet by adding something like the following to the beginning of /etc/ssh/ssh_config:

Host 192.168.1.*
StrictHostKeyChecking no
UserKnownHostsFile=/dev/null

Anything not on the 192.168.1.* subnet is still checked.

 

Add Comments
 
Last Updated ( Monday, 15 December 2008 )
 
Next >