Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hostname alias not used in SSH config file #3819

Closed
cyberduck opened this issue Oct 14, 2009 · 2 comments
Closed

Hostname alias not used in SSH config file #3819

cyberduck opened this issue Oct 14, 2009 · 2 comments
Assignees
Labels
enhancement fixed sftp SFTP Protocol Implementation
Milestone

Comments

@cyberduck
Copy link
Collaborator

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
@cyberduck
Copy link
Collaborator Author

@dkocher commented

#3983 closed as duplicate.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Implemented as of 8a1a630.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement fixed sftp SFTP Protocol Implementation
Projects
None yet
Development

No branches or pull requests

2 participants