Contents
How do I change the default FTP path in Linux?
How to configure FTP access to specific folder on Linux server
- Create a user. Be careful here because you are creating credentials for your FTP account. …
- Install vsftp (Very Secure FTP) apt install -y vsftpd. …
- Check if 21 port is open. telnet <server_ip> 21. …
- Configure vsftp. …
- Restart vsftpd (vsftp daemon) …
- Set correct folders permissions. …
- Done.
29 дек. 2019 г.
What is the default FTP directory in Linux?
When you login as a user, vsftp will default to putting you in that user’s home directory. If you want to ftp to linux-server and have it drop you into /var/www , the easiest way would be to create an FTP user who’s home directory is set to /var/www .