My apologies if this has been covered already. My search of the archives was unfruitful. OpenSSH seems to be lacking a certain capability present in ssh.com's client; namely, the ability to store remote hostkeys on a per-port basis. I have various machines that, due to iptables port-forwarding, appear to be running copies of (open)sshd on multiple ports. "Commercial" ssh stores hostkeys in files named "key_<port>_host.pub"; this is useful, because it allows for recording the keys of multiple sshd's on the same IP address. OpenSSH, on the other hand, doesn't appear to offer this functionality; connecting to any sshd port on a machine will cache that hostkey, and subsequent connections to sshd's on other ports of that machine will fail with hostkey-checking violations. -- Kevin DeGraaf
man ssh look for 'HostKeyAlias' - Ben On Wed, 5 Jun 2002, Kevin DeGraaf wrote:> My apologies if this has been covered already. My search of the archives > was unfruitful. > > OpenSSH seems to be lacking a certain capability present in ssh.com's > client; namely, the ability to store remote hostkeys on a per-port basis. > > I have various machines that, due to iptables port-forwarding, appear to > be running copies of (open)sshd on multiple ports. "Commercial" ssh > stores hostkeys in files named "key_<port>_host.pub"; this is useful, > because it allows for recording the keys of multiple sshd's on the same IP > address. > > OpenSSH, on the other hand, doesn't appear to offer this functionality; > connecting to any sshd port on a machine will cache that hostkey, and > subsequent connections to sshd's on other ports of that machine will fail > with hostkey-checking violations. > > -- > Kevin DeGraaf > > > _______________________________________________ > openssh-unix-dev at mindrot.org mailing list > http://www.mindrot.org/mailman/listinfo/openssh-unix-dev >
Possibly Parallel Threads
- OpenSSH 3.4p1 hostbased auth - howto?
- [PATCH 0/2] Specify signature algorithm during server hostkeys prove
- [PATCH] hostfile: list known names (if any) for new hostkeys
- Why hostkeys-00@openssh.com is following user authentication?
- [Bug 1279] Address- and/or port-specific HostKeys support