How can we disable the SFTP for our users when using FTP without disabling any other security features in shell?
How can we disable the SFTP for our users when using FTP without disabling any other security features in shell?
SFTP is really just FTP-like behaviour through an SSH connection, so you can't really take away SFTP features without revoking shell access.
May I ask why you want to remove SFTP access?
I've finally gotten all of my users used to using WS_FTP in order to access their sites..
now i get complaints because people dont know how to activate SFTP in WS_FTP in order to upload files....
Probably more info over at openssh.org, however, commenting out the following line from /etc/ssh/sshd_config and restarting sshd may well do it:
Subsystem sftp /usr/libexec/openssh/sftp-server
Jonathan Michaelson
Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
Well.. this came in nice time... I have been seeking the possibility of using SFTP or FTP over SSL with my cpanel box.![]()
![]()
![]()
![]()
Guys.. can you tell me how do I create a SFTP account with cpanel and how do I configure my SmartFTP client?![]()
![]()
In fact I did not even know cpanel has SFTP capabilities![]()
I think you may be a bit confused. SFTP is a secure form of file transfer which is integrated with the openssh package. FTP using SSL, however, is a different story. If you want to use FTP with SSL then you'll need to consult the documentation for pure-ftpd or proftpd(or whatever ftp daemon you're using). And cPanel itself doesn't necessarily have integrated SFTP capabilities, basically any UNIX box with SSH has that capability.