Created
March 4, 2019 19:00
-
-
Save tbotalla/3b2eff33014e730a652f2261fe687624 to your computer and use it in GitHub Desktop.
Configuracion de un servidor FTP en un una distro basada en Redhat
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum install vsftpd ftp -y | |
vi /etc/vsftpd/vsftpd.conf | |
[...] | |
## Disable anonymous login ## | |
anonymous_enable=NO | |
## Uncomment ## | |
ascii_upload_enable=YES | |
ascii_download_enable=YES | |
## Uncomment - Enter your Welcome message - This is optional ## | |
ftpd_banner=Welcome to MISERVIDOR FTP service. | |
## Add at the end of this file ## | |
use_localtime=YES | |
[...] | |
systemctl enable vsftpd # O bien service vsftpd start | |
systemctl start vsftpd | |
# Si falla verificar si hay otro servidor ftp corriendo: | |
chkconfig --list | grep ftp | |
# Si hay otro, como por ejemplo proftpd pararlo con service proftpd stop y volver a iniciar el vsftpd | |
# Por default no deja conectarse por ftp con usuario root, crear un usuario especifico para esto | |
useradd ftp_user | |
passwd ftp_user | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment