- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: unprivileged user gets ssh error accessing hos...
Operating System - OpenVMS
1752679
Members
5670
Online
108789
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
Go to solution
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
тАО11-21-2009 06:35 AM
тАО11-21-2009 06:35 AM
I noticed today that a regular old unprivileged OpenVMS account (i.e. the only process privileges for the account are NETMBX and TMPMBX) gets the following error message when the account is used to attempt a connection to another host using ssh:
warning: Error trying to access file /etc/ssh2/hostkey.pub.
warning: Unable to load public host key from /etc/ssh2/hostkey.pub
srvr1$dka0:[sys0.syscommon.][sysexe]tcpip$ssh_ssh2.exe: FATAL: BUILD12$:[TCPIP_V56_BLECO4.SRC.SSH2]AUTHC-HOSTBASED.C;1:181 Ssh2AuthH
ostBasedClient (function name unavailable) Assertion failed: gdata->pubkey_algorithm != ((void *) 0)
%TCPIP-F-SSH_FATAL, non-specific fatal error condition
has anyone else seen this error using this type of account? The system on which this happens is running OpenVMS Alpha V8.3 using TCPIP Services for OpenVMS V5.6 ECO 4. As always, any wisdom is greatly appreciated.
Eric
warning: Error trying to access file /etc/ssh2/hostkey.pub.
warning: Unable to load public host key from /etc/ssh2/hostkey.pub
srvr1$dka0:[sys0.syscommon.][sysexe]tcpip$ssh_ssh2.exe: FATAL: BUILD12$:[TCPIP_V56_BLECO4.SRC.SSH2]AUTHC-HOSTBASED.C;1:181 Ssh2AuthH
ostBasedClient (function name unavailable) Assertion failed: gdata->pubkey_algorithm != ((void *) 0)
%TCPIP-F-SSH_FATAL, non-specific fatal error condition
has anyone else seen this error using this type of account? The system on which this happens is running OpenVMS Alpha V8.3 using TCPIP Services for OpenVMS V5.6 ECO 4. As always, any wisdom is greatly appreciated.
Eric
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-21-2009 06:48 AM
тАО11-21-2009 06:48 AM
Solution
I'd guess that "/etc/ssh2/hostkey.pub" is
actually
TCPIP$SSH_DEVICE:[TCPIP$SSH.SSH2]HOSTKEY.PUB
and around here:
ALP $ dire /secu TCPIP$SSH_DEVICE:[TCPIP$SSH.SSH2]HOSTKEY
Directory SYS$SYSDEVICE:[TCPIP$SSH.SSH2]
HOSTKEY.;1 [TCPIP$AUX,TCPIP$SSH] (RWD,RWD,,)
HOSTKEY.PUB;1 [TCPIP$AUX,TCPIP$SSH] (RWD,RWD,R,R)
Total of 2 files.
The _private_ key file, "HOSTKEY.", is
restricted, but anyone should be able to read
the public key file.
For completeness:
ALP $ dire /secu TCPIP$SSH_DEVICE:[TCPIP$SSH]SSH2
Directory SYS$SYSDEVICE:[TCPIP$SSH]
SSH2.DIR;1 [TCPIP$AUX,TCPIP$SSH] (RWE,RWE,RE,E)
Total of 1 file.
ALP $ dire /secu TCPIP$SSH_DEVICE:[000000]TCPIP$SSH
Directory SYS$SYSDEVICE:[000000]
TCPIP$SSH.DIR;1 [TCPIP$AUX,TCPIP$SSH] (RWE,RWE,RE,E)
Total of 1 file.
ALP $ tcpip show version
HP TCP/IP Services for OpenVMS Alpha Version V5.6 - ECO 4
on a COMPAQ Professional Workstation XP1000 running OpenVMS V8.3
And no, I don't see that problem here.
actually
TCPIP$SSH_DEVICE:[TCPIP$SSH.SSH2]HOSTKEY.PUB
and around here:
ALP $ dire /secu TCPIP$SSH_DEVICE:[TCPIP$SSH.SSH2]HOSTKEY
Directory SYS$SYSDEVICE:[TCPIP$SSH.SSH2]
HOSTKEY.;1 [TCPIP$AUX,TCPIP$SSH] (RWD,RWD,,)
HOSTKEY.PUB;1 [TCPIP$AUX,TCPIP$SSH] (RWD,RWD,R,R)
Total of 2 files.
The _private_ key file, "HOSTKEY.", is
restricted, but anyone should be able to read
the public key file.
For completeness:
ALP $ dire /secu TCPIP$SSH_DEVICE:[TCPIP$SSH]SSH2
Directory SYS$SYSDEVICE:[TCPIP$SSH]
SSH2.DIR;1 [TCPIP$AUX,TCPIP$SSH] (RWE,RWE,RE,E)
Total of 1 file.
ALP $ dire /secu TCPIP$SSH_DEVICE:[000000]TCPIP$SSH
Directory SYS$SYSDEVICE:[000000]
TCPIP$SSH.DIR;1 [TCPIP$AUX,TCPIP$SSH] (RWE,RWE,RE,E)
Total of 1 file.
ALP $ tcpip show version
HP TCP/IP Services for OpenVMS Alpha Version V5.6 - ECO 4
on a COMPAQ Professional Workstation XP1000 running OpenVMS V8.3
And no, I don't see that problem here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-23-2009 07:12 AM
тАО11-23-2009 07:12 AM
Re: unprivileged user gets ssh error accessing host key file
Steven,
Thanks! For some reason the SYS$SYSDEVICE:[TCPIP$SSH.SSH2]hostkey.pub file protection specified NO ACCESS to WORLD on my system. Once I set this file's protection to WORLD:READ, the unprivileged user account can now successfully ssh to another host. Thanks again for the file security information.
Eric
Thanks! For some reason the SYS$SYSDEVICE:[TCPIP$SSH.SSH2]hostkey.pub file protection specified NO ACCESS to WORLD on my system. Once I set this file's protection to WORLD:READ, the unprivileged user account can now successfully ssh to another host. Thanks again for the file security information.
Eric
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