Skip to content

Include port number when saving host key fingerprint #11255

Closed
@cyberduck

Description

@cyberduck

@dkocher created the issue

But because you do not store the port number it will cause issues. Perhaps
I did not explain this properly.

For example, if you setup SSH port forwarding tunnels:

127.0.0.1:5000 > 10.0.1.50:22
127.0.0.1:5001 > 10.0.1.51:22
127.0.0.1:5028 > 10.0.7.32:22
127.0.0.1:5176 > 80.xxx.xxx.xxx:22

These are port forwarding to unique servers with unique fingerprints.

In mountain duck if I connect to server1 and save the fingerprint, then
connect to server2, it will say the fingerprint has changed. If I save
server2 fingerprint and then connect to server1, it will say the key has
changed because it only stores the fingerprint for the IP, not IP:PORT.

OpenSSH has supported this for over 10 years.

This does not affect macOS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions