- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: User Only For SFTP
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
11-30-2010 07:51 AM
11-30-2010 07:51 AM
User Only For SFTP
Good day,
I would like to know how can I make a user called rpmFTP to login to my server using SFTP only. No Telnet, rlogin, FTP or SSH.
Also, Can I create a private/public key based on the "machine serial number" ? So, in case someone took the private key it will not work.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2010 08:06 AM
11-30-2010 08:06 AM
Re: User Only For SFTP
You'll find this pretty useful for sftp
http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1291133058677+28353475&threadId=1264911
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2010 03:52 AM
12-01-2010 03:52 AM
Re: User Only For SFTP
>>I would like to know how can I make a user called rpmFTP to login to my server using SFTP only. No Telnet, rlogin, FTP or SSH.
sftp (both server and client) internally uses SSH. If you want to use sftp, you will have to enable the secure shall.
When a user runs the sftp client application, the sftp client process spawns the ssh client, and then communicates.
The ssh client in turn establishes a socket connection with the sshd server. The rest of the server interaction is similar to that the ssh client.
Thanks & Regards,
Vasu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2010 06:25 AM
12-01-2010 06:25 AM
Re: User Only For SFTP
Incase if you want to disable Telnet, rlogin, FTP or SSH only for the rpmFTP account, then you can follow the steps provided in "Configuring sftp with chroot" link (Above link!)
I believe generating private/public key based on the "machine serial number" is not recommended. Because, anybody can see the machine serial number. It is written outside of the machine.
Thanks & Regards,
Vasu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2010 04:23 PM
12-01-2010 04:23 PM
Re: User Only For SFTP
Look in /opt/ssh
Read the README files; they have full instructions for setting up tailored environments. Scripts are also provided for setting up these environments. See:
/opt/ssh/utils/
.