windows 7 - How do I restrict SSH to one directory?

07
2014-07
  • user249663

    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.

  • Answers
  • mickro

    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.


  • Related Question

    ssh - restrict directory listing linux
  • user34520

    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.


  • Related Answers
  • dag729

    Shouldn't be enough to chmod -r /certain/directories?

  • Ivan Petrushev

    Directories have to have +x permissions in order of someone to read files from within via exact path.