[Cyberduck-trac] [Cyberduck] #11227: Using .ssh/config with Cyberduck
Cyberduck
trac at cyberduck.io
Fri Nov 13 07:53:27 UTC 2020
#11227: Using .ssh/config with Cyberduck
-------------------------+-------------------------
Reporter: mbaciarello | Owner:
Type: defect | Status: reopened
Priority: normal | Milestone: 7.7
Component: core | Version: 7.6.2
Severity: normal | Resolution:
Keywords: | Architecture: Intel
Platform: macOS 11 |
-------------------------+-------------------------
Comment (by ApplePedlar):
Hello.
I'm also using version 7.7.0.
SFTP via bastion using ProxyJump failed.
~/.ssh/config
-------------------------------
Host bastion
User username
Hostname 14.XXX.XX.XX
Host targetserver
User username
Hostname 192.YYY.Y.YYY
ProxyJump bastion
-------------------------------
/var/log/secure on bastion
-------------------------------
Nov 13 16:18:31 bastion sshd[3056]: Accepted publickey for username from
ZZZ.ZZ.ZZ.ZZZ port 63928 ssh2
Nov 13 16:18:31 bastion sshd[3056]: pam_unix(sshd:session): session opened
for user username by (uid=0)
Nov 13 16:18:31 bastion sshd[3097]: subsystem request for sftp
Nov 13 16:18:32 bastion sshd[3097]: error: connect_to targetserver:
unknown host (Name or service not known)
------------------------------
Cyberduck is trying to connect to "targetserver", it should connect to
192.YYY.Y.YYY.
I added "192.YYY.Y.YYY targetserver" to /etc/hosts in bastion and it
worked.
But I don't think that's a good idea.
Thank you.
--
Ticket URL: <https://trac.cyberduck.io/ticket/11227#comment:4>
Cyberduck <https://cyberduck.io>
Libre FTP, SFTP, WebDAV, S3 & OpenStack Swift browser for Mac and Windows
More information about the Cyberduck-trac
mailing list