To enable sftp, jail shell need to been enabled for the user. Jail shell can be enabled from WHM >>> Home >> Account Functions >> Manage Shell Access.
Jail shell enabled can be verified for the user from the command,
grep -i jailshel /etc/passwd
Once this is enabled, the following line need to be enabled in pure-ftpd.conf, and if not there needed to be added,
Subsystem sftp /usr/libexec/openssh/sftp-server
Once done, restart the service.
You can verify sftp from the command line using the command,
sftp <IP>
provide username and password.
DOnw
Jail shell enabled can be verified for the user from the command,
grep -i jailshel /etc/passwd
Once this is enabled, the following line need to be enabled in pure-ftpd.conf, and if not there needed to be added,
Subsystem sftp /usr/libexec/openssh/sftp-server
Once done, restart the service.
You can verify sftp from the command line using the command,
sftp <IP>
provide username and password.
DOnw