[Bug 454] New: SSH doesn't consider distinguish ports for host-key verification
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Tue Dec 10 04:45:20 EST 2002
http://bugzilla.mindrot.org/show_bug.cgi?id=454
Summary: SSH doesn't consider distinguish ports for host-key
verification
Product: Portable OpenSSH
Version: 3.4p1
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: ssh
AssignedTo: openssh-unix-dev at mindrot.org
ReportedBy: foomzilla at fuhm.net
I have two SSH servers running on the same machine.
One is running on port 22 for standard logins; the other is running port 4005, and is not run by root.
They both must have different host keys, as the sshd on port 4005 cannot (and should not) be able to read the host keys for the standard sshd on port 22.
This all works fine, except that every time you connect, it complains that the host key is wrong. I see that there is a configuration option "hostkeyalias" that can be used to circumvent this problem, but that is rather inconvenient, as i now need to type something like 'ssh -o "hostalias=foo.bar.com:4005" foo.bar.com -p 4005'
What I think should happen:
Connecting on a non-standard port should include the port number in the hostname automatically for hostkey lookup purposes, as in 'foo.bar.com:4005'. It should probably also use the host:port name for host-specific configuration option lookup.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the openssh-unix-dev
mailing list