XK8ER
asked on
ssh access
Hello,
I have a customer that needs SSH access to the server but I would like to know if there is a way for Centos v6.4 to have some sort of restriction.
for example if the path is /home/user1/ I need something so that the users stays there and not able to search through /home or /bin etc..
I have a customer that needs SSH access to the server but I would like to know if there is a way for Centos v6.4 to have some sort of restriction.
for example if the path is /home/user1/ I need something so that the users stays there and not able to search through /home or /bin etc..
ASKER
>chroot jail
sounds like the way to go because the only reason why I need them to login to the server through SSH is because the user is going to be uploading files to the user's own website and nothing else.. we do not offer FTP so just (ssh login) through WinSCP I think is good.. so what setup do you recommend?
sounds like the way to go because the only reason why I need them to login to the server through SSH is because the user is going to be uploading files to the user's own website and nothing else.. we do not offer FTP so just (ssh login) through WinSCP I think is good.. so what setup do you recommend?
If you simply want to allow SFTP for file uploads, that article I linked in above also describes how to set that up. It will only allow SFTP access to those users added to the SFTP group (or whatever you decide to name the group).
ASKER
yeah, I read it but im a bit confused as to what exactly I should do for my case.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Here is an article on the starting point for a chroot jail for SSH