I am using PuTTY to connect to an intermediate Linux based server. On that server I use ssh
to connect to the (Linux based) server I try to target. On that server I want to run a program, but I have to send it to that inner server from my PC. A direct connection is not possible.
At the moment I use PSFTP to the intermediate server and PuTTY+sftp
from the intermediate server to the inner server to send the file, but this takes a lot of work to do everytime.
Is there a way to use FileZilla to set up an SFTP connection to the inner server through the intermediate server?
So in stead of:
I want:
Step 1. With FileZilla is open click the site manager button to create a new site connection. Step 2. With the Site Manager window open click the "New Site" button. Step 3. Type a name for the connection. Step 4. You will need to fill out the following information to connect via SFTP. Host: This is the hostname.
Open FileZilla client In the Edit – Preferences menu, select SFTP under Connection Click Add key file… button to add your SSH private key (If your key is in OpenSSH format, FileZilla will prompt you to convert it to PuTTY’s PPK format) Click OK button to save setting and exit Preferences window
Click Connect button to connect ( OK button to save the connection) In the Edit – Preferences menu, select SFTP under Connection Click Add key file… button to add your SSH private key (If your key is in OpenSSH format, FileZilla will prompt you to convert it to PuTTY’s PPK format)
Open Site Manger by clicking the top left icon in menu bar, or press Ctrl+S Click New Site button and gives a name to the new site connection Key file: [select your SSH private key in .ppk or .pem format] Click Connect button to connect ( OK button to save the connection) In the Edit – Preferences menu, select SFTP under Connection
You can setup an SSH tunnel (aka port forwarding) using PuTTY from the intermediate server to the target server and connect with FileZilla to the tunnel.
See details on port forwarding in PuTTY.
Or see a specific guide for setting up port forwarding to tunnel file transfer client (WinSCP particularly, though you can apply it to FileZilla easily).
Actually, WinSCP SFTP client has a (single step) tunneling functionality built in. So, with WinSCP, it is very easy to do what you ask for. See the Tunnel page of its Advanced Site Settings dialog.
(I'm the author of WinSCP)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With