- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- access to sftp or scp
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
09-30-2008 04:46 PM
09-30-2008 04:46 PM
access to sftp or scp
I'm using ssh protocol (the sshd daemon is runnning in my Unix server). In my Unix system, I have restricted the access to server through /etc/hosts.allow file. I give access to login to few users by adding lines in this file.
For example:
sshd:10.100.9.4
A new application needs copy files from Windows to Unix using scp or sftp. But due that most machines have no access to server, the copy fails.
Is it possible restrict access to login, but allow scp or ftp ?. It means I want that any machine can run scp or ftp, but only a few users be able to login.
Thanks in advance
Roger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2008 11:10 PM
09-30-2008 11:10 PM
Re: access to sftp or scp
You can either Allow everyone and deny specific accounts (I think this is what you want?), or you'll have to deny everybody and only allow specific accounts. You can do this for a group of people, or per user.
Do a man on sshd_config, these are the options that you want to change:
AllowUsers root david nanette peter
AllowGroups staff admin
DenyUsers trevor etselle melissa jack
Denygroups gis it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2008 04:46 AM
10-01-2008 04:46 AM
Re: access to sftp or scp
allow logins from serverX.
for users that sftp only, set shell in passwd file "false" or /usr/bin/false(?).
same setup as traditionally used to allow ftp / telnet, only the tools are different. I've not tried this before, so use at your own risk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2008 08:05 AM
10-01-2008 08:05 AM
Re: access to sftp or scp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2008 09:19 AM
10-01-2008 09:19 AM
Re: access to sftp or scp
Please find the attached file and try to setting the sftp with chroot.
Suraj