Created
November 10, 2011 17:14
-
-
Save datwright/1355453 to your computer and use it in GitHub Desktop.
SOCKS Proxy for remote FTP server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OH NO! It turns out that simple one-port SSH Tunnels won't work for FTP since it uses another random port to actually transfer data. No problem! SOCKS Proxy to the rescue! | |
This assumes that you have SSH access to a server that can successfully connect to the FTP server you want access to. | |
On your local execute: | |
ssh -ND 1234 [email protected] | |
You'll need an FTP client that supports SOCKS Proxies. I recommend Filezilla. Enter localhost:1234 as your SOCKS proxy server and connect to the FTP server using its regular internet address (as though you were connecting from your production server). SWEEEET! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment