
unknown-host
I updated a server cluster last night and was getting loads of
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
warnings. You get told about the offending line number:
Offending RSA key in ~/.ssh/known_hosts:531
And usually I’d just edit it and be done, but after doing it a couple of times I wrote unknown-host:
so I wouldn’t have to do that again, in the great spirit of xkcd’s “Automation” webcomic
All links, in order of mention:
- unknown-host: https://gist.github.com/jaygooby/00b58afd85be372a3a4c451dd535f94e
- xkcd’s “Automation” webcomic: https://xkcd.com/1319/
Recent posts: