enable/disable sftp in cpanel server

SFTP is nothing but performing the File Transfer in a secure way. This protocol assumes that it is run over a secure channel,
such as SSH, that the server has already authenticated the client, and that the identity of the client user is available to the protocol.

How to enable sftp in cPanel server

♦ Open /etc/ssh/sshd_config file

♦ Add or comment out the below line and save the file

Subsystem sftp /usr/lib/openssh/sftp-server

♦ Restart sshd service /etc/init.d/sshd restart

How to disable sftp in cPanel server

♦ Open /etc/ssh/sshd_config file

♦ Remove or comment the below line and save the file

Subsystem sftp /usr/lib/openssh/sftp-server

♦ Restart sshd service /etc/init.d/sshd restart

Revisions

There are no revisions for this post.

Tags: , , ,

No comments yet.

Leave a Reply