Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

To access our file server here, I need to connect first to a server which is public available and then open a second ssh connection to that server. If I need to copy files, I first need to copy them from the file server to the public available server. Then I can use a tool like Cyberduck (MAC) or WinSCP on (WINDOWS) to confortable browse and download the files. Is there a tool available where I can configure to connect directly to the target server?

share|improve this question

You can first create an ssh tunnel with Putty or one of its utilities, Plink. With Plink you can do

plink.exe -L 2200:yoursecondserver:22 you@yourpublicserver

With Mac you probably can just replace plink.exe with command ssh.

After that you can connect your Cyberduck or WinSCP to localhost:2200 and access your second server over an ssh tunnel.

To make this easier, you can write a script. For example in Mac, something like

ssh -L 2200:yoursecondserver:22 you@yourpublicserver
/path/to/cyberduck &

should do it. :)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.