Ticket #152 (closed defect: fixed)

Opened 4 years ago

Last modified 12 months ago

Read IdentityFile setting from OpenSSH configuration in ~/.ssh/config

Reported by: chris@… Owned by: dkocher
Priority: normal Milestone: 3.1
Component: sftp Version:
Severity: normal Keywords:
Cc:

Description

I'd love to have my ~/.ssh/config host aliases work in Cyberduck, and it would be sweet to have it already know the right identity files too.

Attachments

Change History

  Changed 4 years ago by dkocher

  • status changed from new to assigned
  • milestone set to 2.6

  Changed 4 years ago by dkocher

  • priority changed from normal to low
  • milestone changed from 2.6 to 2.7

  Changed 4 years ago by dkocher

  • milestone 2.7 deleted

Milestone 2.7 deleted

  Changed 15 months ago by anonymous

  • priority changed from low to normal
  • milestone set to 3.1

This is pretty important for SFTP. As a web dev with multiple clients with multiple environments, SSH aliases are the only way to be efficient. Any news?

  Changed 15 months ago by dkocher

  • status changed from assigned to closed
  • resolution set to fixed

In r4402.

  Changed 15 months ago by dkocher

  • summary changed from Could use ~/.ssh/config for SFTP connections to Read IdentityFile setting from OpenSSH configuration in ~/.ssh/config

  Changed 15 months ago by dkocher

Also read username from configuration. In r4408.

follow-up: ↓ 9   Changed 13 months ago by hegewald@…

  • status changed from closed to reopened
  • type changed from enhancement to defect
  • version 2.5.4 deleted
  • resolution fixed deleted
  • milestone 3.1 deleted

Dear Caberduck Team, there seems to be a little glitch with this nice feature. I will try to explain what I observe here (Cyberduck 3.1.2, Mac OS 10.5.6): I use a ~/ssh/config to allow multiple keys. In the config I have Host * and then lines setting IdentityFile. This works pretty well with plain ssh. Cyberduck seems to ignore the default key files (i.e. id_dsa), which is not in my ~/ssh/config. If I remove the Host * and replace it with Host <full.host.name>, then Cyberduck seems to behave and also uses the id_dsa. I would expect to see the same behaviour as if connecting via plain ssh. Cheers, -- Jan

in reply to: ↑ 8   Changed 12 months ago by dkocher

  • status changed from reopened to closed
  • resolution set to fixed
  • milestone set to 3.1

Replying to hegewald@…:

Dear Caberduck Team, there seems to be a little glitch with this nice feature. I will try to explain what I observe here (Cyberduck 3.1.2, Mac OS 10.5.6): I use a ~/ssh/config to allow multiple keys. In the config I have Host * and then lines setting IdentityFile. This works pretty well with plain ssh. Cyberduck seems to ignore the default key files (i.e. id_dsa), which is not in my ~/ssh/config. If I remove the Host * and replace it with Host <full.host.name>, then Cyberduck seems to behave and also uses the id_dsa. I would expect to see the same behaviour as if connecting via plain ssh. Cheers, -- Jan

There is currently no support for wildcards in the config. Must be tracked in a separate ticket.

Add/Change #152 (Read IdentityFile setting from OpenSSH configuration in ~/.ssh/config)

Author


E-mail address and user name can be saved in the Preferences.


Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.