- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- scp +sftp only configuration
Categories
Company
Local Language
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
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
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
01-11-2006 05:42 AM
01-11-2006 05:42 AM
I want some way where I can allow user scp/sftp & not ssh shell functions.. is it possible? does some one have it working anywhere?
Thanks and regards
Prashant
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2006 07:49 AM
01-11-2006 07:49 AM
SolutionIf you are using chroot, copy the scp/sftp binaries to each users bin directory, make sure its on the path and you are done.
Effectively, if you can't find ssh, you can't use it. chroot does a good job on that.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2006 08:33 AM
01-11-2006 08:33 AM
Re: scp +sftp only configuration
Thanks again
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2006 09:04 AM
01-11-2006 09:04 AM
Re: scp +sftp only configuration
If you allow the users to put files in their home directory then there's nothing to stop them from using scp to copy an ssh binary into thier home dir.
I was tempted to offer putting "exit 0" in the .profile file, but with SCP access they can replace it with another one that is not restricted.
Just be sure that the users can't change or add to your secured configuration effectively undoing your restrictions.
Good luck,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2006 01:56 PM
01-25-2006 01:56 PM
Re: scp +sftp only configuration
question for the original poster, or anyone who wishes to reply:
Tru64's ssh implementation includes a file in /bin called "ssh-dummy-shell" but I cannot find an HPUX equivalent on my system with A.4.10 ssh.
How do I configure?
Thanks,
Russ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2006 03:22 PM
01-25-2006 03:22 PM