Thread View: pl.comp.os.bsd
1 messages
1 total messages
Started by mk
Tue, 09 Mar 2010 19:30
sftp on openbsd
Author: mk
Date: Tue, 09 Mar 2010 19:30
Date: Tue, 09 Mar 2010 19:30
18 lines
1227 bytes
1227 bytes
Hello
My system openBSD 4.6. I would like to give access for users by sftp but
restricted only to one folder. I put on my /etc/ssh/sshd_config
something like this:
Subsystem sftp /usr/libexec/sftp-server
Match User ftp
ForceCommand internal-sftp
ChrootDirectory /var/www/domains/configuration/htdocs
When trying login I see error:
subsystem request failed on channel 0
Couldn't read packet: Connection reset by peer
How to restricted user to /var/www/domains/configuration/htdocs folder
only. How to do it for group?
Thanks
Mark
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads