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.
contact
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.