#1 (permalink)  
Old 03-18-2004, 08:57 AM
Registered User
 
Join Date: Feb 2003
Posts: 36
gator
sftp not working with shell access disabled

Anyone else notice that when an account doesn't have shell access enabled that sftp is broken. This is the latest stable version 9.1.0-STABLE_93.

Users are getting as far as the password prompt and it just rejects the password. Enable jailshell for the account and it starts working.

Anyone know of another solution besides handing out shell access to everyone?

Tks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-18-2004, 10:29 AM
chirpy's Avatar
Moderator
 
Join Date: Jun 2002
Location: Go on, have a guess
Posts: 13,495
chirpy will become famous soon enough
You cannot have SFTP without shell access, because the sftpserver is not launched until after a successful login via shell.

The alternative is to use FTP over SSL which works fine with cPanel and proFTPd, unless you have a firewall installed, then that won't work due to a "feature" in the protocol.
__________________
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
  #3 (permalink)  
Old 03-18-2004, 11:13 AM
Advanced cPanel/WHM User
Advanced cPanel/WHM User
 
Join Date: Jun 2003
Posts: 646
nickn is on a distinguished road
Quote:
Originally posted by chirpy
You cannot have SFTP without shell access, because the sftpserver is not launched until after a successful login via shell.

The alternative is to use FTP over SSL which works fine with cPanel and proFTPd, unless you have a firewall installed, then that won't work due to a "feature" in the protocol.

Actually, there is a method...I've detailed it at :

http://www.cpanelfaq.org/004/104.html

(I don't believe in saying things over and over. :P)

I've used it for awhile and never had any problems with it, however I only discovered it after someone suggested i to me and I could never find out if it was an "official method" or not.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 03-18-2004, 11:43 AM
chirpy's Avatar
Moderator
 
Join Date: Jun 2002
Location: Go on, have a guess
Posts: 13,495
chirpy will become famous soon enough
Quote:
Actually, there is a method...I've detailed it at
Cool , although looking at the method, it does feel like cheating

I wonder if there are any security implications of doing this? It might be a good idea to run it past the people over at openssh.org
__________________
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 08-31-2005, 09:59 PM
Registered User
 
Join Date: May 2004
Posts: 17
renchler
page is gone.. anyone have the info to share or the new link?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 08-31-2005, 10:01 PM
sawbuck's Avatar
Registered User
 
Join Date: Jan 2004
Posts: 1,246
sawbuck is on a distinguished road
http://www.cpanelfaq.com/006/104.html
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 08-31-2005, 10:12 PM
Registered User
 
Join Date: May 2004
Posts: 17
renchler
thank you sawbuck!
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 06:18 AM.


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