- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: SSH host based auth. quesion
Operating System - OpenVMS
1755637
Members
3397
Online
108837
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
тАО03-02-2006 04:00 AM
тАО03-02-2006 04:00 AM
SSH host based auth. quesion
Question:
Using host based authentication, is it possible to restrict to a single user on a remote (client) node to only have access to a single account on the local (server) node?
I'm under the impression that if you specify a trusted host and user in the shosts.equiv file, that gives that user access to _ALL_ accounts on the local (i.e. server) node. Am I correct?
Using host based authentication, is it possible to restrict to a single user on a remote (client) node to only have access to a single account on the local (server) node?
I'm under the impression that if you specify a trusted host and user in the shosts.equiv file, that gives that user access to _ALL_ accounts on the local (i.e. server) node. Am I correct?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2006 05:05 AM
тАО03-02-2006 05:05 AM
Re: SSH host based auth. quesion
Thomas,
an initial test on OpenVMS Alpha V8.2 and TCPIP V5.5 seems to support your impression.
Once I add 'client.node.domain user' to SYS$SYSDEVICE:[TCPIP$SSH.SSH2]SHOSTS.EQUIV on the server (after copying all required host key files), this user can login to all accounts on the host (using $ SSH -l username host) from the SSH client.
There may be SSH options, which would prevent this, but I'm not yet familiar enough with all this stuff. The best docu I've found so far, does not seem to talk about this in enough detail:
http://h71000.www7.hp.com/openvms/products/ssh/ssh.pdf
Volker.
an initial test on OpenVMS Alpha V8.2 and TCPIP V5.5 seems to support your impression.
Once I add 'client.node.domain user' to SYS$SYSDEVICE:[TCPIP$SSH.SSH2]SHOSTS.EQUIV on the server (after copying all required host key files), this user can login to all accounts on the host (using $ SSH -l username host) from the SSH client.
There may be SSH options, which would prevent this, but I'm not yet familiar enough with all this stuff. The best docu I've found so far, does not seem to talk about this in enough detail:
http://h71000.www7.hp.com/openvms/products/ssh/ssh.pdf
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2006 05:36 AM
тАО03-02-2006 05:36 AM
Re: SSH host based auth. quesion
Thomas,
if you don't want a user on the client node to access all accounts on the server by creating an entry in TCPIP$SSH_DEVICE:[TCPIP$SSH]SHOSTS.EQUIV, you could use user-based SHOSTS. files.
In the user's login directory on the SSH server, create a file SYS$LOGIN:SHOSTS. and add the ip name of the SSH client and the user name of the user on the SSH client, which should be allowed host based authenticated access to this user account on the SSH server.
See the chapter: 'Customizing Host-Based Authentication on the Server' in the SSH documentation (page 36).
Volker.
if you don't want a user on the client node to access all accounts on the server by creating an entry in TCPIP$SSH_DEVICE:[TCPIP$SSH]SHOSTS.EQUIV, you could use user-based SHOSTS. files.
In the user's login directory on the SSH server, create a file SYS$LOGIN:SHOSTS. and add the ip name of the SSH client and the user name of the user on the SSH client, which should be allowed host based authenticated access to this user account on the SSH server.
See the chapter: 'Customizing Host-Based Authentication on the Server' in the SSH documentation (page 36).
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2006 05:58 AM
тАО03-02-2006 05:58 AM
Re: SSH host based auth. quesion
Tom,
I hope this is possible.
Normally the hosts.equiv file is searched first, followed by the user's sys$login:shost/rhost file, if it exists. If any entry in the hosts file cannot override the hosts.equiv file. But there is exception to the system user in the order.
So if you want restrict local account access to any specific ssh client user, edit that local user sys$login:shost/rhost file and enter the same entry you have now in your shosts.equiv file, such as
"rfqdn rusername"
This will allow the specific user remote user to have accesss only to the particular account and it deny access to the other accounts in the server.
Archunan
I hope this is possible.
Normally the hosts.equiv file is searched first, followed by the user's sys$login:shost/rhost file, if it exists. If any entry in the hosts file cannot override the hosts.equiv file. But there is exception to the system user in the order.
So if you want restrict local account access to any specific ssh client user, edit that local user sys$login:shost/rhost file and enter the same entry you have now in your shosts.equiv file, such as
"rfqdn rusername"
This will allow the specific user remote user to have accesss only to the particular account and it deny access to the other accounts in the server.
Archunan
Regards
Archie
Archie
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