internal-sftp only without ssh and scp hanging

Peter Stuge peter at stuge.se
Sat Oct 24 04:07:10 EST 2009


Paul Surgeon wrote:
> i.e.
> Subsystem       sftp    internal-sftp
> Match group sftpusers
>          ChrootDirectory /chroot/%u
>          X11Forwarding no
>          AllowTcpForwarding no
>          ForceCommand internal-sftp
> 
> So far everything works correctly with sftp but when a user ssh's
> or scp's to the box the login hangs after authentication.

Hm. I guess internal-sftp is used as shell for whatever ssh and scp
want to execute. Maybe that looks just like a legitimate start of
internal-sftp, then I think the forcecommand echo idea is better.


//Peter


More information about the openssh-unix-dev mailing list