Giving SSH access to a user, and security issues.

Posted by Kris Sauquillo on Server Fault See other posts from Server Fault or by Kris Sauquillo
Published on 2010-04-28T19:33:55Z Indexed on 2010/04/28 19:37 UTC
Read the original article Hit count: 203

Filed under:
|

Okay, so I have a VPS and I made an account for a friend so he can host his own domains (using the reseller features in DirectAdmin). He's asking for SSH access, and I know that this is probably a bad idea. Does he have access to my whole server, such as executing commands, accessing my domains that I host on my server? I logged into my SSH using his account details and it let me navigate around all of the root folders/files, and his account is under /home/AccountName/.

Is there anyway to restrict his access to his folder only? And the commands he can use?

© Server Fault or respective owner

Related posts about ssh

Related posts about linux