Cyberduck Mountain Duck CLI

#10323 new enhancement

Incompatible with OpenSSH wildcard HostName

Reported by: scottsb Owned by:
Priority: low Milestone:
Component: sftp Version: 6.5.0
Severity: normal Keywords:
Cc: Architecture: Intel
Platform: macOS 10.13

Description

I have these rules set up in my .ssh/config:

Host *.*
HostName %h

Host *
HostName %h.myservers.com

This allows me to connect via the command line to subdomains of myservers.com without having to spell it out. For example:

ssh foo    # connects to foo.myservers.com

Yet a connection to foo.bar.com will still go straight through as normal because OpenSSH will match the first Host *.* block and stop there. This isn't handled correctly by Cyberduck, though. Trying to connect via SFTP to foo.bar.com will return the following error:

DNS lookup for %h.myservers.com failed. DNS is the network service that translates a server name to its Internet address. This error is most often caused by having no connection to the Internet or a misconfigured network. It can also be caused by an unresponsive DNS server or a firewall preventing access to the network.

Change History (1)

comment:1 Changed on May 15, 2018 at 5:57:30 AM by dkocher

  • Summary changed from Cyberduck incompatible with OpenSSH wildcard HostName to Incompatible with OpenSSH wildcard HostName
  • Type changed from defect to enhancement
Note: See TracTickets for help on using tickets.
swiss made software