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

Use default SSH public key first #3982

Closed
cyberduck opened this issue Dec 7, 2009 · 8 comments
Closed

Use default SSH public key first #3982

cyberduck opened this issue Dec 7, 2009 · 8 comments
Assignees
Labels
enhancement fixed sftp SFTP Protocol Implementation
Milestone

Comments

@cyberduck
Copy link
Collaborator

14853d6 created the issue

Cyberduck always prompts me for the password even if I have a public key which openssh uses by default to log in on the server. I shouldn't have to set the public key for every connection manually.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Replying to [3982 tom@…]:

Cyberduck always prompts me for the password even if I have a public key which openssh uses by default to log in on the server. I shouldn't have to set the public key for every connection manually.

It should read the configuration from the OpenSSH configuration file as described in https://trac.cyberduck.io/wiki/help/en/howto/ssh#OpenSSHConfiguration.

@cyberduck
Copy link
Collaborator Author

14853d6 commented

I was on that page before but it is not clear to me what I have to do for Cyberduck to automatically read my ~/.ssh/id_rsa key. Where (and why) do I specify the key in the config?

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Replying to [comment:2 tom@…]:

I was on that page before but it is not clear to me what I have to do for Cyberduck to automatically read my ~/.ssh/id_rsa key. Where (and why) do I specify the key in the config?

I have updated the page with additional info. We do not read the id_rsa by default. You have to specify the key explicitly in the configuration file.

@cyberduck
Copy link
Collaborator Author

14853d6 commented

This does not work for the quick connect field, also shouldn't be required for the user to set up an IdentityFile.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

#5893 closed as duplicate.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

In d9cbb90.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

We have disabled this by default in 4eb231e because of #6388. To enable, set the hidden configuration option ssh.authentication.publickey.default.enable to true.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Documentation in OpenSSH Configuration Interoperability.

@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