Then type your local username and the password for that user, and you will see Login successful message. Since there is an option in the settings for allowing local users to access FTP server which is local_enable=YES, now let’s try to access the FTP server using a local user: $ ftp localhost Then type the username anonymous and with no password, just press enter.Īnd now, you can type any FTP command to interact with the FTP server. Now you can access your FTP server like this: $ ftp localhost You can install it if it’s not on your system: $ dnf -y install ftp Now you can try to connect to the FTP server using any FTP client. You can allow anonymous access to the FTP server from the configuration, in /etc/vsftpd/nf by enabling anonymous_enable=YES if it is not enabled and reload your service. Local user login: all valid users on /etc/passwd are allowed to access the FTP server. Anonymous FTP access: anyone can log in with the username anonymous without a password.There are two types of accessing the FTP server: The configuration file for vsftpd FTP server is /etc/nfĪctually, the FTP server in Linux is one of the easiest servers that you can work with. Once you’ve installed the package, you can run the service and enable it to run at boot time. On Debian based distros like Ubuntu, you can install it like this: $ sudo apt-get install vsftpd Some Linux distros shipped with vsftpd, anyway, if you want to install it on Red Hat based systems, you can use the following command: $ sudo dnf -y vsftpd
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |