[Cyberduck-trac] [Cyberduck] #2104: use a proxy
Cyberduck
trac at trac.cyberduck.ch
Mon May 19 18:47:11 CEST 2008
#2104: use a proxy
-----------------------------------+----------------------------------------
Reporter: trent at trentonadams.ca | Owner: dkocher
Type: enhancement | Status: reopened
Priority: normal | Milestone:
Component: core | Version: 3.0.1
Severity: normal | Resolution:
Keywords: |
-----------------------------------+----------------------------------------
Changes (by trent at trentonadams.ca):
* status: closed => reopened
* resolution: worksforme =>
Comment:
That isn't what I was thinking. Mainly because that would change the
proxy for the entire system, not just Cyberduck. I was thinking more
along the lines of a proxy ONLY for ssh connections, like OpenSSH does.
For one thing, the proxy for me is an HTTP proxy. That proxy ONLY allows
proxying of SSH connections to the internal network, not other external
hosts.
For example...
Apparently, there is no need for a DNS record for any server you want to
connect to. You can just have an '/etc/hosts' entry on the proxy server.
So, any "ssh" connections to a host on somedomain.ca, or proxydomain.ca,
will get run through the "proxytunnel" command, which happens to proxy
through apache at sshproxy.proxydomain.ca:80.
My ~/.ssh/config
Host *.somedomain.ca
DynamicForward 1080
ProxyCommand proxytunnel -v -p sshproxy.proxydomain.ca:80 -d %h:%p -H
"User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Win32)\n"
ServerAliveInterval 30
Host *.proxydomain.ca
DynamicForward 1080
ProxyCommand proxytunnel -v -p sshproxy.proxydomain.ca:80 -d %h:%p -H
"User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Win32)\n"
ServerAliveInterval 30
--
Ticket URL: <http://trac.cyberduck.ch/ticket/2104#comment:2>
Cyberduck <http://cyberduck.ch>
FTP, SFTP, WebDAV and Amazon S3 Browser for Mac OS X.
More information about the Cyberduck-trac
mailing list