[Cyberduck-trac] [Cyberduck] #10323: Cyberduck incompatible with OpenSSH wildcard HostName
Cyberduck
trac at cyberduck.io
Mon May 14 22:50:12 UTC 2018
#10323: Cyberduck incompatible with OpenSSH wildcard HostName
------------------------+-------------------------
Reporter: scottsb | Owner:
Type: defect | Status: new
Priority: low | Milestone:
Component: sftp | Version: 6.5.0
Severity: normal | Keywords:
Architecture: Intel | Platform: macOS 10.13
------------------------+-------------------------
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.
--
Ticket URL: <https://trac.cyberduck.io/ticket/10323>
Cyberduck <https://cyberduck.io>
Libre FTP, SFTP, WebDAV, S3 & OpenStack Swift browser for Mac and Windows
More information about the Cyberduck-trac
mailing list