Displaying 1 result from an estimated 1 matches for "certificate2".
Did you mean:
certificate
2008 Jun 12
3
[Bug 1476] New: .ssh/known_hosts does not save port number
...gnedTo: unassigned-bugs at mindrot.org
ReportedBy: parasietje at gmail.com
Problem: .ssh/known_hosts does not save the port number, only the
IP/hostname. Thus, multiple ssh-servers on the same IP will cause key
collisions.
Recreate:
Run sshd1 with certificate1 on port 2221
Run sshd2 with certificate2 on port 2222
Connect to localhost, port 2221.
The server certificate is added to .ssh/known_hosts
Connect to localhost, port 2222
Ssh reports REMOTE HOST KEY CHANGED
Expected behavior:
Ssh makes a difference between the ssh-server on port 2221, and the one
on port 2222.
Known workaround:...