$ openssl rsa -in -out ftp.keyįinally, we generate our certificate: $ openssl x509 -req -days 365 -in certificate.csr -signkey ftp.key -out mycertificate.crt Now we remove the password from the key file: $ cp FTP.key $ openssl req -new -key FTP.key -out certificate.csr 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. |