Friday, April 5, 2013

VSFTPD server setup

How to set up vsftpd on RHEL 6




[root@cluster1 Packages]# rpm -ivh ftp-0.17-53.el6.x86_64.rpm
warning: ftp-0.17-53.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Preparing...                ########################################### [100%]
   1:ftp                       ########################################### [100%]

# rpm -ivh vsftpd-2.2.2-11.el6_3.1.x86_64.rpm

[root@cluster1 mnt]# service vsftpd restart
Shutting down vsftpd:                                      [  OK  ]
Starting vsftpd for vsftpd:                                [  OK  ]

edit /etc/vsftpd/vsftpd.conf

# Allow anonymous FTP? (Beware - allowed by default if you comment this out).
anonymous_enable=YES

# You may fully customise the login banner string:
ftpd_banner=Welcome to Rajftpd  FTP service.

# Uncomment this to allow local users to log in.
local_enable=YES



C:\Users\raj>ftp 164.87.119.22
Connected to 144.77.109.90.
220 Welcome to Rajftpd  FTP service.
User (144.77.109.90:(none)): joe
331 Please specify the password.
Password:
230 Login successful.
ftp> dir
200 PORT command successful. Consider us
150 Here comes the directory listing.
226 Directory send OK.
ftp> bye
221 Goodbye.

C:\Users\raj>ftp 164.87.119.22
Connected to 144.77.109.90.
220 Welcome to Rajftpd  FTP service.
User (144.77.109.90:(none)): raj
331 Please specify the password.
Password:
230 Login successful.

No comments: