
peter at stuge
Oct 23, 2009, 10:07 AM
Post #3 of 4
(315 views)
Permalink
|
|
Re: internal-sftp only without ssh and scp hanging
[In reply to]
|
|
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 _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev[at]mindrot.org https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
|