Tagged Questions
1
vote
0answers
118 views
Making ChrootDirectory directory writable by SFTP user
If a user logs into a machine via SFTP, one can make use of ChrootDirectory keyword to give an illusion that user is in a root directory. But that directory is only writable by root user. I would love ...
1
vote
3answers
311 views
Can directory listing be disabled for sftp?
A question arose in a group discussion: Can directory listing be disabled for sftp while still retaining read and write access?
We are using openssh on ubuntu server 11.02 if that helps.
5
votes
1answer
747 views
how to set the sftp -s subsystem option in a configuration file
The sftp command supports a subsystem option (-s) which allows the remote user to select the remote sftp-server executable, and optionally upgrade to sudo in the process like so;
sftp -s ...
16
votes
3answers
4k views
Restricting an SSH/SCP/SFTP user to a directory
Is there a simple way to restrict an SCP/SFTP user to a directory? All methods that I've come across require me to set a chroot jail up by copying binaries, but I don't think that should be necessary.
...