SSH Tunnel
Posted: 2021-05-12 17:56
I've been using FileZilla for years to connect to my own remote server, but now I need to connect to another server via SSH tunnel, and I don't know how.
I can connect to the desired computer with simple shell commands:
1. from my local computer (MacOS) to the gateway (Ubuntu):
When I enter the password for publicuser I'm logged in the gateway computer. There I can perform the second step:
2. from the gateway (Ubuntu) to the target (Ubuntu):
This internal user has another password. When I enter it, I'm logged in on the protected server. I've reached my goal and can to what I want to do there.
But now I want to use FileZilla to move files from my local computer (MacOS) to the target computer (Ubuntu). So, I need to connect to protected.internal.server via public.gateway.university.edu with two different User-IDs as described above. How can I do this with FileZilla?
I can connect to the desired computer with simple shell commands:
1. from my local computer (MacOS) to the gateway (Ubuntu):
Code: Select all
> ssh publicuser@public.gateway.university.edu
2. from the gateway (Ubuntu) to the target (Ubuntu):
Code: Select all
> ssh internaluser@protected.internal.server
But now I want to use FileZilla to move files from my local computer (MacOS) to the target computer (Ubuntu). So, I need to connect to protected.internal.server via public.gateway.university.edu with two different User-IDs as described above. How can I do this with FileZilla?