Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Sep 2007
    Posts
    139

    Default sftp logging without jailshell [Case 56638]

    I tried enabling sftp logging by adding the following to the sshd_config. This works if jail shell is enabled but not if the shell is set to /usr/local/cpanel/bin/noshell.

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

    From what I can tell, this is because /usr/libexec/openssh/sftp-server is hardcoded and the -l INFO is causing it not to match and return "Shell access is not enabled on your account!".

    This generates the following error message 'Received message too long 1399350636'.

    The decimal 1399350636 is "Shel" when converted to ascii.

    I would like to be able to add sftp logging that is similar to the ftp logs.

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge txspaderz's Avatar
    Join Date
    Jun 2008
    Location
    Houston
    Posts
    33
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default re: sftp logging without jailshell [Case 56638]

    Super awesome idea! Seconded

  3. #3
    Member
    Join Date
    Nov 2008
    Posts
    174

    Default re: sftp logging without jailshell [Case 56638]

    Thirded!!! A quickly increasing number of users use SFTP, and tracking problems is a nightmare!

  4. #4
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Nov 2010
    Posts
    9
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default Re: sftp logging without jailshell [Case 56638]

    +1 for this, perhaps enabled by default so that the logging for SFTP matches that available with standard FTP in messages?

  5. #5
    Member monarobase's Avatar
    Join Date
    Jan 2010
    Location
    France
    Posts
    387
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: sftp logging without jailshell [Case 56638]

    +1 This is indeed necessary, this is even urgent for companies that legaly have to keep all logs for a certain period of time !

Similar Threads & Tags
Similar threads

  1. JailShell for SFTP?
    By yeahoi in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-27-2008, 08:44 AM
  2. sftp + jailshell problems
    By andriven in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 07-11-2005, 04:53 PM
  3. Make Jailshell supports SFTP
    By Doctor in forum cPanel and WHM Discussions
    Replies: 29
    Last Post: 01-03-2004, 12:17 AM
  4. SFTP and JailShell are not friends
    By trparky in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-15-2003, 10:34 PM
  5. jailshell .profile and Sftp
    By Jorge in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 05-31-2003, 07:30 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube