Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SSH : Restrict sftp to a directory without jailing shell
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
lodup29
n00b
n00b


Joined: 14 Dec 2013
Posts: 1

PostPosted: Sat Dec 14, 2013 2:32 pm    Post subject: SSH : Restrict sftp to a directory without jailing shell Reply with quote

For a user group I'd like to:

•Restrict SFTP access to a given directory
•Use a custom shell for TTY which takes care of only exposing what needs to be exposed from the system but that still need access to the entire root file system

So ultimately I'd like to perform and ChrootDirectory only for users from a certain group but also connected over a sftp session and avoid doing a ChrootDirectory for users connected over a TTY session. Can it be done through sshd_config?

Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum