- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- SCP Only between TRU64 Machines
Operating System - Tru64 Unix
1754362
Members
4840
Online
108813
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-10-2006 09:22 PM
тАО01-10-2006 09:22 PM
SCP Only between TRU64 Machines
I have configured scp from One TRU64 machine to another without prompting for Password. I want to restrict the user to use only scp command & should not be able to login using ssh interactively.
Though in the authorization file, the command restriction script is added, SSH@_ORIGINAL_COMMAND Environment Variable is not getting set when remote command is executed.
Anybody has done command restriction option using SSH2.
Though in the authorization file, the command restriction script is added, SSH@_ORIGINAL_COMMAND Environment Variable is not getting set when remote command is executed.
Anybody has done command restriction option using SSH2.
VMS is the best
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2006 11:08 PM
тАО01-10-2006 11:08 PM
Re: SCP Only between TRU64 Machines
You could add a line in the /etc/profile that checks if the UID match that specific user, then runs the exit command.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2006 07:37 PM
тАО01-15-2006 07:37 PM
Re: SCP Only between TRU64 Machines
HI Nair,
Set the /usr/bin/ssh-dummy-shell as default shell for the scp user.
/usr/bin/ssh-dummy-shell is for commercial version of ssh, which I believe you have on your system.
Regards,
Set the /usr/bin/ssh-dummy-shell as default shell for the scp user.
/usr/bin/ssh-dummy-shell is for commercial version of ssh, which I believe you have on your system.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2006 03:57 PM
тАО01-16-2006 03:57 PM
Re: SCP Only between TRU64 Machines
This is made working after adding
"command /usr/bin/sftp-server" in the authorization file.
Though the Man page shows the command syntax
as 'command="command", this was not working.
Thanks for your replies.
"command /usr/bin/sftp-server" in the authorization file.
Though the Man page shows the command syntax
as 'command="command", this was not working.
Thanks for your replies.
VMS is the best
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP