HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- chroot'd SSH
Operating System - HP-UX
1834356
Members
2374
Online
110066
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2004 08:58 AM
10-07-2004 08:58 AM
Was wondering if anyone has successfully setup a chroot'd SSH/Sftp server?
We need to keep the user from navigating out of their home directory.
Thanks for any insight into this!
We need to keep the user from navigating out of their home directory.
Thanks for any insight into this!
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2004 07:02 PM
10-07-2004 07:02 PM
Re: chroot'd SSH
I've used it in many installations and it works pretty flawlessly. As long as you have a relatively new version of OpenSSH, it expects you to have a user "sshd", and all you do is to set this user up with a home-directory in a chroot'ed jail.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2004 09:13 PM
10-07-2004 09:13 PM
Re: chroot'd SSH
Hi Hank,
You will have to either install a 'chroot' patch (I don't remember on top of my head the URL) and recompile openssh or use the 'command=' feature of authorized_keys file to build a wrapper around.
-Sri
You will have to either install a 'chroot' patch (I don't remember on top of my head the URL) and recompile openssh or use the 'command=
-Sri
You may be disappointed if you fail, but you are doomed if you don't try
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2004 05:22 AM
10-08-2004 05:22 AM
Solution
HP Secure Shell supports Chroot for both SSH/SFTP. Just refer release notes for installation guide.
You can use ssh_chroot_setup.sh script to
configure chroot environment for users. It can configure an user to use
1. SSH only
2. SFTP only
3. Both SSH/Sftp.
All the best
You can use ssh_chroot_setup.sh script to
configure chroot environment for users. It can configure an user to use
1. SSH only
2. SFTP only
3. Both SSH/Sftp.
All the best
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP