-   Linux - Server (
-   -   Ssh (

sarhang 04-10-2008 07:54 PM


I have a server and I want to give a user remortely to use ssh to access a particular folder /srv/www, so I used:

ssh-keygen -t rsa
scp /root/.ssh/ webmaster@ip_address_server:
cat >> .ssh/authorized_keys
ssh webmaster@ip_address_server

Then it is fine I login via ssh as webmaster, but I have a problem when the webmaster is using ssh to login, he will have access to the server but i just want him to have acceess to this folder /srv/www, and I don want him to have access to anything else on the server, thanks.


Wim Sturkenboom 04-11-2008 01:36 AM

Google for ssh jail

All times are GMT -5. The time now is 11:35 AM.