FTP through SSH tunnel not connecting
I've setup a new server and want to connect using WinSCP without having FTP access directly on the server, but through SSH and once on the server connect to FTP 127.0.0.1 on port 21.
SSH tunnel appears to work fine, WinSCP authenticate ok, then connect to the FTP, but it never logs in and reports a timeout!?
Here are what I get in various logs:
==> /var/log/syslog <==
==> /var/log/vsftpd.log <==
Attached is full log for WinSCP.
I've spent a few hours on this and can't find what is wrong with the configuration.
At first WinSCP told me to disable "Optimize buffer size" (translated from French), which I did to no avail.
I tried disabling firewall entirely it didn't appear to help.
Any help would be very much appreciated.
EDIT: I finally dropped the SSH Tunnel configuration and it worked, however I wanted to use a different FTP user and cannot in this way :(
SSH tunnel appears to work fine, WinSCP authenticate ok, then connect to the FTP, but it never logs in and reports a timeout!?
Here are what I get in various logs:
==> /var/log/syslog <==
Jan 12 14:39:16 xxxxxxxxxx systemd[1]: session-61.scope: Succeeded. Jan 12 14:40:52 xxxxxxxxxx systemd[1]: Started Session 62 of user xxxxx.
Wed Jan 12 14:40:52 2022 [pid 92850] CONNECT: Client "127.0.0.1"
I've spent a few hours on this and can't find what is wrong with the configuration.
At first WinSCP told me to disable "Optimize buffer size" (translated from French), which I did to no avail.
I tried disabling firewall entirely it didn't appear to help.
Any help would be very much appreciated.
EDIT: I finally dropped the SSH Tunnel configuration and it worked, however I wanted to use a different FTP user and cannot in this way :(