it-systeme

christoph ender it operations · networking · software development

about

Hi there! These pages are intended to share notes and experiences from my work as an IT freelancer – yes, you can hire me – working in OPs, networking and development.
→ read more …

contact

mobile: +49 (0)171 1592365
e-mail: christoph.ender@it-sys-ce.de
pgp: 0fe1e446f585711c3d56d45154f51a402f3c6660 2f3c6660
mastodon: @chrender@mastodon.social

latest blog entry: “ssh for multiple hosts on single ip”

Sometimes it's neccessary to ssh to an IP which may have alternating servers behind it, for example when two systems are sharing an IP using keepalived. Usually, when ssh, upon connecting, encounters some other fingerprint than the one it has stored in ~/.ssh/.known_hosts, it will just exit with a corresponding warning. Instead of turning it off, it's better to store all valid fingerprints for the remote, shared IP in the corresponding Host entry in ~/.ssh/config, which, luckily, is perfectly valid spec-wise.

→ read more …