<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic unprivileged user gets ssh error accessing host key file in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/unprivileged-user-gets-ssh-error-accessing-host-key-file/m-p/4537844#M58875</link>
    <description>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:&lt;BR /&gt;&lt;BR /&gt;warning: Error trying to access file /etc/ssh2/hostkey.pub.&lt;BR /&gt;warning: Unable to load public host key from /etc/ssh2/hostkey.pub&lt;BR /&gt;srvr1$dka0:[sys0.syscommon.][sysexe]tcpip$ssh_ssh2.exe: FATAL: BUILD12$:[TCPIP_V56_BLECO4.SRC.SSH2]AUTHC-HOSTBASED.C;1:181 Ssh2AuthH&lt;BR /&gt;ostBasedClient (function name unavailable) Assertion failed: gdata-&amp;gt;pubkey_algorithm != ((void *) 0)&lt;BR /&gt;&lt;BR /&gt;%TCPIP-F-SSH_FATAL, non-specific fatal error condition&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Eric</description>
    <pubDate>Sat, 21 Nov 2009 14:35:20 GMT</pubDate>
    <dc:creator>Eric W. Robertson</dc:creator>
    <dc:date>2009-11-21T14:35:20Z</dc:date>
    <item>
      <title>unprivileged user gets ssh error accessing host key file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/unprivileged-user-gets-ssh-error-accessing-host-key-file/m-p/4537844#M58875</link>
      <description>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:&lt;BR /&gt;&lt;BR /&gt;warning: Error trying to access file /etc/ssh2/hostkey.pub.&lt;BR /&gt;warning: Unable to load public host key from /etc/ssh2/hostkey.pub&lt;BR /&gt;srvr1$dka0:[sys0.syscommon.][sysexe]tcpip$ssh_ssh2.exe: FATAL: BUILD12$:[TCPIP_V56_BLECO4.SRC.SSH2]AUTHC-HOSTBASED.C;1:181 Ssh2AuthH&lt;BR /&gt;ostBasedClient (function name unavailable) Assertion failed: gdata-&amp;gt;pubkey_algorithm != ((void *) 0)&lt;BR /&gt;&lt;BR /&gt;%TCPIP-F-SSH_FATAL, non-specific fatal error condition&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Eric</description>
      <pubDate>Sat, 21 Nov 2009 14:35:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/unprivileged-user-gets-ssh-error-accessing-host-key-file/m-p/4537844#M58875</guid>
      <dc:creator>Eric W. Robertson</dc:creator>
      <dc:date>2009-11-21T14:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: unprivileged user gets ssh error accessing host key file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/unprivileged-user-gets-ssh-error-accessing-host-key-file/m-p/4537845#M58876</link>
      <description>&lt;!--!*#--&gt;I'd guess that "/etc/ssh2/hostkey.pub" is&lt;BR /&gt;actually&lt;BR /&gt;TCPIP$SSH_DEVICE:[TCPIP$SSH.SSH2]HOSTKEY.PUB&lt;BR /&gt;and around here:&lt;BR /&gt;&lt;BR /&gt;ALP $ dire /secu TCPIP$SSH_DEVICE:[TCPIP$SSH.SSH2]HOSTKEY&lt;BR /&gt;&lt;BR /&gt;Directory SYS$SYSDEVICE:[TCPIP$SSH.SSH2]&lt;BR /&gt;&lt;BR /&gt;HOSTKEY.;1           [TCPIP$AUX,TCPIP$SSH]            (RWD,RWD,,)&lt;BR /&gt;HOSTKEY.PUB;1        [TCPIP$AUX,TCPIP$SSH]            (RWD,RWD,R,R)&lt;BR /&gt;&lt;BR /&gt;Total of 2 files.&lt;BR /&gt;&lt;BR /&gt;The _private_ key file, "HOSTKEY.", is&lt;BR /&gt;restricted, but anyone should be able to read&lt;BR /&gt;the public key file.&lt;BR /&gt;&lt;BR /&gt;For completeness:&lt;BR /&gt;&lt;BR /&gt;ALP $ dire /secu TCPIP$SSH_DEVICE:[TCPIP$SSH]SSH2&lt;BR /&gt;&lt;BR /&gt;Directory SYS$SYSDEVICE:[TCPIP$SSH]&lt;BR /&gt;&lt;BR /&gt;SSH2.DIR;1           [TCPIP$AUX,TCPIP$SSH]            (RWE,RWE,RE,E)&lt;BR /&gt;&lt;BR /&gt;Total of 1 file.&lt;BR /&gt;&lt;BR /&gt;ALP $ dire /secu TCPIP$SSH_DEVICE:[000000]TCPIP$SSH&lt;BR /&gt;&lt;BR /&gt;Directory SYS$SYSDEVICE:[000000]&lt;BR /&gt;&lt;BR /&gt;TCPIP$SSH.DIR;1      [TCPIP$AUX,TCPIP$SSH]            (RWE,RWE,RE,E)&lt;BR /&gt;&lt;BR /&gt;Total of 1 file.&lt;BR /&gt;&lt;BR /&gt;ALP $ tcpip show version&lt;BR /&gt;&lt;BR /&gt;  HP TCP/IP Services for OpenVMS Alpha Version V5.6 - ECO 4&lt;BR /&gt;  on a COMPAQ Professional Workstation XP1000 running OpenVMS V8.3&lt;BR /&gt;&lt;BR /&gt;And no, I don't see that problem here.</description>
      <pubDate>Sat, 21 Nov 2009 14:48:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/unprivileged-user-gets-ssh-error-accessing-host-key-file/m-p/4537845#M58876</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-11-21T14:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: unprivileged user gets ssh error accessing host key file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/unprivileged-user-gets-ssh-error-accessing-host-key-file/m-p/4537846#M58877</link>
      <description>Steven,&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Eric</description>
      <pubDate>Mon, 23 Nov 2009 15:12:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/unprivileged-user-gets-ssh-error-accessing-host-key-file/m-p/4537846#M58877</guid>
      <dc:creator>Eric W. Robertson</dc:creator>
      <dc:date>2009-11-23T15:12:09Z</dc:date>
    </item>
  </channel>
</rss>

