![]() A little help with configuring theese firewalls can be found here for ufw and here for iptables. If telnet couldn’t connect to 21 port you should check your firewall rules with ufw status and iptables -L. If it does you probably can exit from it by pressing ctrl+ enter. So if you don’t have telnet locally, you can execute telnet localhost 21 on your server. You can run this command either from your remote server both from your local computer. Install vsftp (Very Secure FTP) apt install -y vsftpdĬheck that vsftp is running: service -status-all | grep vsftpd 3. You should see something like your_user_name:1000:1000::/path/to/shared/folder:/usr/sbin/nologin 2. Now check that user is actually been created: cat /etc/passwd | grep Part -s /usr/sbin/nologin here is for locking FTP user from accessing server by SSH. Use something appropriate :) useradd -d -p -s /usr/sbin/nologin Create a userīe careful here because you are creating credentials for your FTP account. I almost sure this approach is fair for most of popular Linux distributives. So I decided to make this tutorial for me, my colleagues and everybody else.įirst of all, I use Hetzner’s VPS with Ubuntu 16.04 on board. I’ve been digging through a number of tutorials but didn’t find one that works for me from end to end. ![]() If you want to give somebody access to some certain folder on your Linux server then you came to the right place. How to configure FTP access to specific folder on Linux server
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |