How To Set Up vsftpd on CentOS 6
As ftp is not secure protocol for any server so everyone want to go with very secure ftp.
Her i am trying to explain basic step:
1. first login with root user using putty (ssh)
type the yum command
yum install vsftpd
it will ask to update and download basic package. type Y for yes.
2. We also need to install the FTP client, so that we can connect to an FTP server:
so type
yum install ftp
you have to follow the same step. after installation complete you have to now configure sftp
3. Open up the configuration file:
nano /etc/vsftpd/vsftpd.conf
find anonymous_enable and set it to, so that you can prevent anonymous login
anonymous_enable=NO
4. every user must access only his files so set local_enable to yes
local_enable=YES
and
chroot_local_user=YES
now save and restart the services
service vsftpd restart
In order to ensure that vsftpd runs at boot, run chkconfig:
chkconfig vsftpd on
if you are getting error
-bash: sftp: command not found
then do install
yum -y install openssh-clients
That’s it. now you can test your ftp connection by creating user.
- Jquery webcam plugin - June 19, 2016
- How To Add and Delete Users on a CentOSServer - June 5, 2016
- How To Set Up vsftpd on CentOS 6 - June 5, 2016