- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: restricted sftp2
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
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
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
09-19-2005 05:01 PM
09-19-2005 05:01 PM
restricted sftp2
we are trying implement chroot . we have cluster platform. and we modified ssh2d_config to enable chroot env.
also modified passwd file. and in passwd there is newroot directory and shell is /bin/csh.
all lib files are copied to newdirectory.
but when i do sftp it fails with error
/usr/bin/csh file or directory not found.
we have ssh2. any help is appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2005 06:57 PM
09-19-2005 06:57 PM
Re: restricted sftp2
hth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2005 07:01 PM
09-19-2005 07:01 PM
Re: restricted sftp2
A similar thread of SFTP,
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=942006
1.configure the user as a chroot user using the /opt/ssh/ssh_chroot_setup.sh script.
2. Edit /etc/passwd file to change the default shell to /opt/ssh/etc/sftponly
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2005 07:15 PM
09-19-2005 07:15 PM
Re: restricted sftp2
yes i do created /bin at chroot directory and coped csh at there.
as i didnt find /opt/ssh/ssh_chroot_setup.sh script.is it available ?
why we should use sftponly shell ?
i followed HP doc. attached.
any updates ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2005 07:21 PM
09-19-2005 07:21 PM
Re: restricted sftp2
is there any difference ?