Skip to content

Hostname alias not used in SSH config file #3819

Description

@cyberduck

8debe99 created the issue

If in your ~/.ssh/config file you have an entry with the "Host" different from the Hostname entry the Hostname is not used.

e.g.

Host server
    Hostname 192.168.0.100
    IdentityFile ~/.ssh/my_key

Cyberduck attempts to connect to "server" rather than the machine defined by Hostname "192.168.0.100"

The following entry does work but is less user friendly

Host 192.168.0.100
    Hostname 192.168.0.100
    IdentityFile ~/.ssh/my_key

Metadata

Metadata

Assignees

Labels

sftpSFTP Protocol Implementation

Fields

No fields configured for Enhancement.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions