Tuesday, May 7, 2024
 Popular · Latest · Hot · Upcoming
6
rated 0 times [  6] [ 0]  / answers: 1 / hits: 1621  / 1 Year ago, wed, april 12, 2023, 4:24:24

I'm trying to set up FTP over SSH, and I did set up the SSH server, but FileZilla keeps saying "ECONNREFUSED - Connection refused by server" which I take to mean that I need to set up an ftp server on my machine as well. I found directions here about how to set up vsftpd, but I'm concerned about security. Is this going to be accessible outside the ssh, and if so, how do I stop this functionality?



Edit- This is only going to be me using ftp, by the way. I need to access my files off site occasionally.


More From » ssh

 Answers
6

FileZilla by default works via FTP, so if you ain't got an FTP server, it won't work - as your linked tutorial says, install and configure it via:


sudo apt-get install vsftpd
sudo nano /etc/vsftpd.conf

Then change the anonymous_enable... line to anonymous_enable=NO or #anonymous_enable=YES, and change the write_enable=YES depending on whether you want write access or not. You may also need to set local_enable=YES so that local users have access.


OR


You can set FileZilla to use sftp (through an SSH tunnel - like scp, but does FTP stuff), so for that you can set it to use that instead - under 'Protocol':


Set 'Protocol' in Site Manager to SFTPThat might work if you only have ssh setup


On accessing you computer externally, see here and this. You will need have the computer on (or with Wake On LAN), and connected to the network for it to work. A constant IP address (internal + external) also helps.


To find the IP addresses, there are a few answers here.


[#26928] Friday, April 14, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tialmes

Total Points: 14
Total Questions: 108
Total Answers: 102

Location: Oman
Member since Thu, Jun 16, 2022
2 Years ago
;