- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Can sftp and scp work together
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
Discussions
Discussions
Forums
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
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
тАО10-24-2005 06:31 AM
тАО10-24-2005 06:31 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2005 07:43 AM
тАО10-24-2005 07:43 AM
Re: Can sftp and scp work together
After SSH installation you have both sftp an scp working. Do you get any error message?
Alex.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2005 07:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2005 07:55 AM
тАО10-24-2005 07:55 AM
Re: Can sftp and scp work together
sftp will transfer files being ASCII or BINARY without any user involvment. scp will do the same.
All I see different is the name of the tool.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-25-2005 04:38 AM
тАО10-25-2005 04:38 AM
Re: Can sftp and scp work together
I suspect that the manpages for scp and/or sshd may have some pointers on configuration. Especially if SAM has not been taught how to do it yet. docs.hp.com may have some useful stuff as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-25-2005 05:06 AM
тАО10-25-2005 05:06 AM
Re: Can sftp and scp work together
HTH
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-25-2005 06:31 AM
тАО10-25-2005 06:31 AM
Re: Can sftp and scp work together
I've done this for scp restricted access before. Here's a url for the wrapper I used as my template.
http://www.snailbook.com/faq/scp-wrapper.txt
I remember it took some tweaking it where I needed it for my user on hp-ux, but it worked. I'll dig around for the wrapper I had working and post it if I find it.
You should be able to get it working if you use the sftp-only and add an else statement that will perform the scp only check.
Hope this helps,
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-25-2005 07:47 AM
тАО10-25-2005 07:47 AM
Re: Can sftp and scp work together
Denver, if you do find the wrapper you had working I would very much appreciate it if you can post it here. I think that will help a lot.
Regards,
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2005 02:13 PM
тАО11-03-2005 02:13 PM
Re: Can sftp and scp work together
attached is a slightly modified scponly wrapper that I had running on a hpux 11i box to restrict a user account to allow scp only access. Can't remember exactly how I had it used, but I think I limited the account to only allow public-key auth, then put the scponly in the authorized_keys file as the command to run... for what it's worth, hope this helps w/ your sftp/scp only access.
-denver