Find the answer to your Linux question:
Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2009

    OpenSUSE 11 - OpenSSH - Chrooted Groups Cannot Login

    Server Details:
    OpenSUSE 11
    OpenSSL 0.9.8g

    Connections work fine. Once a username and password is entered the user can login, unless the user is part of a chrooted group.
    The chroot info is configured in /etc/ssh/sshd_config

    Subsystem sftp internal-sftp
    Match Group EEAdmin
           ChrootDirectory /home/SFTP/EquipEng
           ForceCommand internal-sftp
           AllowTcpForwarding no
    If a user of the EEAdmin group connects to the server, it immediately disconnects them with a 'network caused connection abort' (in windows using putty) or a 'write failed: broken pipe' (in linux using ssh)

    If this match group config is commented out, and the sshd restarted, the user can login fine. However, they obviously aren't chrooted.

    Any ideas? Let me know if you need more info.

    Note: Forgot to mention, this was working until a server reboot. There were not any updates applied, and everything seemed fine.
    Last edited by zerowizard; 10-06-2011 at 05:28 PM. Reason: More Info

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts