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:
- Patch for aarch64 (aka arm64) openssl 1.0.2 'relocation R_AARCH64_PREL64 against symbol OPENSSL_armcap_P error'
- TIL: the `NO_COLOR` informal standard to suppress ANSI colour escape codes
- Copy the contents of a branch into an existing git branch without merging
- Adding search to a static Jekyll site using pagefind
- asdf, python and automatically enabling virtual envs