#1 (permalink)  
Old 03-15-2006, 04:06 PM
Registered User
 
Join Date: Mar 2006
Posts: 94
codegirl42 is on a distinguished road
Question Disable SFTP

How can we disable the SFTP for our users when using FTP without disabling any other security features in shell?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-15-2006, 04:53 PM
Registered User
 
Join Date: Jan 2005
Posts: 1,874
webignition is on a distinguished road
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-15-2006, 05:02 PM
Registered User
 
Join Date: Mar 2006
Posts: 94
codegirl42 is on a distinguished road
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....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 03-16-2006, 04:30 AM
chirpy's Avatar
Moderator
 
Join Date: Jun 2002
Location: Go on, have a guess
Posts: 13,495
chirpy will become famous soon enough
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
cPanel Forum Moderator

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 03-16-2006, 05:16 AM
Registered User
 
Join Date: Jun 2005
Posts: 119
neo4242002 is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 03-16-2006, 08:07 AM
Registered User
 
Join Date: Apr 2005
Location: Texas
Posts: 63
xidica is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 02:29 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc