Thread
:
Remove host key from .ssh/known_hosts file
View Single Post
#
5
(View Single Post)
22nd December 2014
scottro
Real Name: Scott Robbins
ISO Quartermaster
Join Date: Apr 2008
Location: NYC
Posts: 654
Meh, I always do sed -i '' 'whateverd' .ssh/known_hosts. (That's on FreeBSD where the -i option needs something, in this case, two single quotes. In Linux, one can just do sed -i, and I don't know what one does in OpenBSD.
scottro
View Public Profile
Visit scottro's homepage!
Find all posts by scottro