0

------------ Setup ------------
MyMachine: My Machine is on a dynamic IP. This is a Windows Machine

MyServer: My Server has a static IP and MyMachine can connect to MyServer directly via SSH without any issue. This is an Ubuntu Server.

RemoteServer: Remote server provides FTP access to the MyServer IP and I can FTP to RemoteServer only when I take remote control of MyServer. I don't know what server it is, I think its Windows based.

----------- Requirement ------------
I do not want to take remote control of MyServer everytime I have to FTP something to Remote Server. I can certainly use SSH from MyMachine to MyServer and then FTP via command line, but I am looking for a GUI tool like WinSCP or Filezilla. I want to use WinSCP/Filezilla and FTP to RemoteServer directly from MyMachine.

I tried setting up VPN connection between MyMachine and MyServer but that did not help. Someone gave an idea about using proxy server but I am not convinced that it would work.

Can anyone guide.

4

1 回答 1

2

更高版本的 OpenSSH 可以充当 SOCKS 代理。

在 MyMachine 上安装一些版本的 OpenSSH 客户端(有几个可以从 Internet 预编译的),然后运行:

ssh MyServer -D6789

然后使用一些支持 SOCKS 的 FTP 客户端,例如 Firefox。

显然,您必须将其配置为使用侦听端口 6789 的 SOCKS 代理进行 FTP。

于 2013-10-03T08:25:22.693 回答