The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

sftp not working with shell access disabled

Discussion in 'General Discussion' started by gator, Mar 18, 2004.

  1. gator

    gator Active Member

    Joined:
    Feb 27, 2003
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    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!
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    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.
     
  3. nickn

    nickn Well-Known Member
    PartnerNOC

    Joined:
    Jun 15, 2003
    Messages:
    619
    Likes Received:
    1
    Trophy Points:
    18

    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.
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Cool :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
     
  5. renchler

    renchler Member

    Joined:
    May 6, 2004
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    page is gone.. anyone have the info to share or the new link?
     
  6. sawbuck

    sawbuck Well-Known Member

    Joined:
    Jan 18, 2004
    Messages:
    1,367
    Likes Received:
    5
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
  7. renchler

    renchler Member

    Joined:
    May 6, 2004
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    thank you sawbuck!
     
Loading...

Share This Page