Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by lorenzhs

11 years ago

ssh-keygen -f ~/.ssh/known_hosts -R 123.45.67.89

2 comments

lorenzhs

Reply

erpellan  11 years ago

If you get past the terrifying warning, it even gives you the command to copy and paste. You don't even have to type it!

corobo  11 years ago

You have probably just saved me.. minutes of time over the course of a year!

But seriously thanks, I was going into the known_hosts file and manually deleting the offending line :)

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities