To configure SFTP pleass follow the steps, I followed this steps ans configured successfully.
For this step no need to install FTP, just make sure that ssh running.
#Configuring SFTP
---------------------
groupadd ftpaccess
useradd -m kiran -s /sbin/nologin -g ftpaccess
passwd kiran
chown root /home/kiran
chmod 750 /home/kiran
mkdir /home/kiran/www
chown kiran:ftpaccess /home/kiran/www
#comment this line in /etc/ssh/sshd_config
#Subsystem sftp /usr/libexec/openssh/sftp-server
#set the selinux to premessive mode
sestatus
setenforce 0
#copy the below lines in /etc/ssh/sshd_config
PasswordAuthentication yes
ChallengeResponseAuthentication yes
Subsystem sftp internal-sftp
Match group sftp_users
ChrootDirectory %h
X11Forwarding no
AllowTcpForwarding no
ChrootDirectory /home
ForceCommand internal-sftp
systemctl restart sshd
Access the machine use filezilla or any ftp client.
For this step no need to install FTP, just make sure that ssh running.
#Configuring SFTP
---------------------
groupadd ftpaccess
useradd -m kiran -s /sbin/nologin -g ftpaccess
passwd kiran
chown root /home/kiran
chmod 750 /home/kiran
mkdir /home/kiran/www
chown kiran:ftpaccess /home/kiran/www
#comment this line in /etc/ssh/sshd_config
#Subsystem sftp /usr/libexec/openssh/sftp-server
#set the selinux to premessive mode
sestatus
setenforce 0
#copy the below lines in /etc/ssh/sshd_config
PasswordAuthentication yes
ChallengeResponseAuthentication yes
Subsystem sftp internal-sftp
Match group sftp_users
ChrootDirectory %h
X11Forwarding no
AllowTcpForwarding no
ChrootDirectory /home
ForceCommand internal-sftp
systemctl restart sshd
Access the machine use filezilla or any ftp client.