Sftp

Discussion in 'Installation/Configuration' started by scottrill2, Apr 3, 2014.

  1. scottrill2

    scottrill2 Member

    Hello,

    I have ISPConfig 3 on Wheezy Perfect Server.

    Users are SSH Chroot with Jailkit selected.

    I can login to SSH no problem with ssh users. However when Bitvise tries to open sftp window it opens and closes the session immediately.



    **NOTE** My super users can SSH and SFTP with no problems. So I am assuming SSH is fine and running correctly, it is probably my own typo or mistake causing the issues I think.



    Through searching howtoforge etc I have seen a few statements like:

    1. Make sure you have the following line:

    Subsystem sftp internal-sftp

    Now I have the following in /etc/ssh/sshd_config:

    Subsystem sftp /usr/lib/openssh/sftp-server


    Do I ADD "Subsystem sftp internal-sftp" as a new line or do I replace "/usr/lib/openssh/sftp-server" with "internal-sftp"?


    Any help on getting SFTP working for users chrooted jailkit would be appreciated.

    Thanks folks,

    Scott
     
  2. srijan

    srijan New Member HowtoForge Supporter

    Hi


    What is your ISPconfig version?

    Br//
    Srijan
     
  3. scottrill2

    scottrill2 Member

    Hello srijan,


    The control panel states:


    ISPConfig Version: 3.0.5.3



    As always thanks,

    Scott
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

  5. scottrill2

    scottrill2 Member

    Hello Till,

    I had read that exact post earlier. I am confused though.


    Do I need to download these libraries? And then to apply the libraries to my current users do I use the:

    jk_cp -j /var/www/clients/clientX/webY/./home/userxyz /lib/x86_64-linux-gnu/libnsl.so.1 /lib/x86_64-linux-gnu/libnss*.so.2



    command, or do I use the


    jk_update -j /var/www/clients/clientX/webY/./home/userxyz

    command?


    Also what about the


    jk_init -v -j uidbasics netbasics


    command listed on the first site you link too?


    Thanks folks as always,

    Scott
     

Share This Page