windows 7 - How do I restrict SSH to one directory?
2014-07
I have a Bitvise SSH server on Win7 and I'd like to restrict access to one directory for the SSH user. Any guidance would be much appreciated.
Basically SSH access gives to distant user same rights as local user. This is designed for.
If you want to limit an user SSH access to specific place. Best is to create local account for this usage. Which is allowed to see at least your specific folder.
I want to restrict access to certain directories to my ssh users but allow them to read files by known path from there(mostly it's meant to be done by applications). How is that possible? Are there easy ways? Thank you.
Shouldn't be enough to chmod -r /certain/directories
?
Directories have to have +x permissions in order of someone to read files from within via exact path.