Limit the access to user connectiing through SCP
I have the openssh daemon running on my box, and users can connect to it through ssh or scp. I want to allow certain users connecting through SCP to access only certain directories on my box. How can I do this ?
|
More specific?
Generally a user will have the same pemrissions on your machine that he would have if he logged in on a local console. If you have problems with Unix file/ directory permissions read a bit ... http://www.linuxquestions.org/questi...ticle&artid=20 is a good starting point. |
I know about user rights, but I want to limit a user connecting through scp, to access only his home directory like in proftpd
|
Quote:
|
As far as I know, an scp connection and an ssh connection are basically the same thing to the remote machine. You cannot set different permissions. You could (as mentioned above) set up ssh with a chroot.
|
All times are GMT -5. The time now is 10:23 AM. |