Feb 062013
 

This is just a postlet for a) remembering how to do it and b) your information

If something changes about your network, and you run into an offending host key problem because you have enabled strict checking in your SSH’ing, you can use the following sed command to remove that key. Just replace the ‘6’ with the line number given to you and away you go!

# sed -i '6d' ~/.ssh/known_hosts

Happy Hacking!

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)