1833777 Members
2356 Online
110063 Solutions
New Discussion

SFTP question.

 
SOLVED
Go to solution
Christina Martin
Frequent Advisor

SFTP question.

We're trying to confine our sftp users (non-root) to their home directories. How would I do this? Is there a setting in the config files that I'm just not seeing?

Thanks in advance
Lisa
2 REPLIES 2
Ivan Krastev
Honored Contributor
Solution

Re: SFTP question.

Haralambos
Advisor

Re: SFTP question.

If you do not mind chrooting their accounts then this will work for you.

HPUX ssh comes with a script located under /opt/ssh/utils/.

Use this to set up accounts as chrooted. The sftp users will be forced to stay within their chrooted directory.

haralambos