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 login problem on one server.

Discussion in 'General Discussion' started by jeroman8, Feb 10, 2009.

  1. jeroman8

    jeroman8 Well-Known Member

    Joined:
    Mar 14, 2003
    Messages:
    410
    Likes Received:
    0
    Trophy Points:
    16
    Hi!

    I can't connect to one server via sFTP.
    Same setup as I know it on other servers and there it's fine.
    I can login without issues via SSH, on standard port (22).
    But I can't login via sFTP - can't connect it say.

    Same port, tested everything in my sftp program, correct pass used.
    Since I can't even connect it's like port is closed, but it ain't.
    So maybe then that the subsystem sftp is not running - not active or
    something, if it's possible ...

    Any ideas ?

    Same sshd conf settings as on other servers what I can see
    and the line

    Subsystem sftp /usr/libexec/openssh/sftp-server

    is there.
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,478
    Likes Received:
    202
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Have you tried logging in and then check your logs right after (or during for that matter) to see if anything comes up there?
     
  3. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Joined:
    Nov 3, 2007
    Messages:
    938
    Likes Received:
    0
    Trophy Points:
    16
    you have to give the shell permission for which domain you wish to login sFTP

    then you may able to login

    cheeers!!!!

    Nilesh
     
  4. jeroman8

    jeroman8 Well-Known Member

    Joined:
    Mar 14, 2003
    Messages:
    410
    Likes Received:
    0
    Trophy Points:
    16
    I log in with root, not as a user.
    There is nothing in logs.
     
  5. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,478
    Likes Received:
    202
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Login to a customers account that does not have shell/jailed, visit the FTP accounts > Configure FTP account and check the list of "Manual Settings" there. You should see SFTP port listed.

    New Feature.



    Try logging in with the account username and your root password. Does that work for you?

    Another New Feature I believe.
     
  6. jeroman8

    jeroman8 Well-Known Member

    Joined:
    Mar 14, 2003
    Messages:
    410
    Likes Received:
    0
    Trophy Points:
    16
    Hi!

    thanks for trying to help.

    It is not working.
    Not as root, not as a user with shell activated.

    I use sftp 50% of the time to check logs, system, upload files etc - as ROOT.
    I use this instead of using SSH all the time.
    I think it's easier and get a better overview of files/folders etc and I can
    access everything on the server (/tmp, /etc, /usr, /home ...).
    So it's not login to users accounts/folders that is the main reason for using it.

    sftp login as root on a server always worked before without any issues or fix
    and it is working on all of our other servers.
    This server where it is not working also takes forever to login via SSH.
    Well, not forever but it does take 10x times longer than any other server.

    Regards Jero
     
Loading...

Share This Page