more precisely you can match also a group.
That's what I've done:
1 create user (testuser) and group (eg remote)
2 setup jail (copy files and directories)
3 used "l2chroot" script for copying libraries
4 configured sshd_config as followed
Code:
match group remote
ChrootDirectory /jail/home/testuser
And now I'm stuck at the following message while connecting -.-
Code:
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
Write failed: Broken pipe
Any suggestions ?
Bookmarks