<?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 Re: SSH key generation problem. in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/ssh-key-generation-problem/m-p/4265644#M56871</link>
    <description>Yes, that is my login directory:&lt;BR /&gt;&lt;BR /&gt;IBAV02_MIKEW&amp;gt; sho log sys$login&lt;BR /&gt;   "SYS$LOGIN" = "SYS$SYSDEVICE:[CGI.MIKEW]" (LNM$JOB_87702000)&lt;BR /&gt;IBAV02_MIKEW&amp;gt;&lt;BR /&gt;&lt;BR /&gt;Here is the dir listing of the random_seed file:&lt;BR /&gt;&lt;BR /&gt;IBAV02_MIKEW&amp;gt; dir/fu RANDOM_SEED.;1&lt;BR /&gt;&lt;BR /&gt;Directory SYS$SYSDEVICE:[CGI.MIKEW.SSH2]&lt;BR /&gt;&lt;BR /&gt;RANDOM_SEED.;1                File ID:  (25500,174,0)&lt;BR /&gt;Size:            0/0          Owner:    [1,4]&lt;BR /&gt;Created:     9-SEP-2008 10:38:53.01&lt;BR /&gt;Revised:     9-SEP-2008 10:38:53.04 (1)&lt;BR /&gt;Expires:    &lt;NONE specified=""&gt;&lt;BR /&gt;Backup:     &lt;NO backup="" recorded=""&gt;&lt;BR /&gt;Effective:  &lt;NONE specified=""&gt;&lt;BR /&gt;Recording:  &lt;NONE specified=""&gt;&lt;BR /&gt;Accessed:   &lt;NONE specified=""&gt;&lt;BR /&gt;Attributes: &lt;NONE specified=""&gt;&lt;BR /&gt;Modified:   &lt;NONE specified=""&gt;&lt;BR /&gt;Linkcount:  1&lt;BR /&gt;File organization:  Sequential&lt;BR /&gt;Shelved state:      Online&lt;BR /&gt;Caching attribute:  Writethrough&lt;BR /&gt;File attributes:    Allocation: 0, Extend: 0, Global buffer count: 0&lt;BR /&gt;                    Version limit: 4&lt;BR /&gt;Record format:      Stream_LF, maximum 0 bytes, longest 32767 bytes&lt;BR /&gt;Record attributes:  Carriage return carriage control&lt;BR /&gt;RMS attributes:     None&lt;BR /&gt;Journaling enabled: None&lt;BR /&gt;File protection:    System:RWD, Owner:RWD, Group:, World:&lt;BR /&gt;Access Cntrl List:  None&lt;BR /&gt;Client attributes:  None&lt;BR /&gt;&lt;BR /&gt;Total of 1 file, 0/0 blocks.&lt;BR /&gt;IBAV02_MIKEW&amp;gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NO&gt;&lt;/NONE&gt;</description>
    <pubDate>Tue, 09 Sep 2008 14:56:42 GMT</pubDate>
    <dc:creator>mikew_3</dc:creator>
    <dc:date>2008-09-09T14:56:42Z</dc:date>
    <item>
      <title>SSH key generation problem.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-key-generation-problem/m-p/4265638#M56865</link>
      <description>I am trying to get SSH setup done on a VMS machine.  I noticed that keys were not generated as part of the setup.  When I try to execute ssh_keygen I get the following message:&lt;BR /&gt;&lt;BR /&gt; IBAV02_MIKEW&amp;gt; ssh_keygen&lt;BR /&gt;$1$dka0:[sys0.syscommon.][sysexe]tcpip$ssh_ssh-keygen2.exe: FATAL: ssh_userfile_&lt;BR /&gt;open: using non-current uid but not initialized (uid=65540, path=/sys$sysdevice/&lt;BR /&gt;cgi/mikew/ssh2/random_seed.)&lt;BR /&gt;IBAV02_MIKEW&amp;gt;&lt;BR /&gt;&lt;BR /&gt;Can someone tell me what I need to do to fix this?&lt;BR /&gt;&lt;BR /&gt;Here is my version of TCPIP:&lt;BR /&gt;&lt;BR /&gt;IBAV02_MIKEW&amp;gt; tcpip sho version&lt;BR /&gt;&lt;BR /&gt;  HP TCP/IP Services for OpenVMS Industry Standard 64 Version V5.5&lt;BR /&gt;  on an HP rx2620  (1.60GHz/3.0MB) running OpenVMS V8.2-1&lt;BR /&gt;&lt;BR /&gt;IBAV02_MIKEW&amp;gt; &lt;BR /&gt;&lt;BR /&gt;Any help would be appreciated. &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Michael White &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Sep 2008 14:05:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-key-generation-problem/m-p/4265638#M56865</guid>
      <dc:creator>mikew_3</dc:creator>
      <dc:date>2008-09-09T14:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: SSH key generation problem.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-key-generation-problem/m-p/4265639#M56866</link>
      <description>Don't have that product but could you try it after removing ssh2 dir and creating a new one with the correct owner ?&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Tue, 09 Sep 2008 14:30:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-key-generation-problem/m-p/4265639#M56866</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2008-09-09T14:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: SSH key generation problem.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-key-generation-problem/m-p/4265640#M56867</link>
      <description>Thanks for the reply.  I'm not sure what you mean by correct owner.  I renamed the SSH2 directory and created a new SSH2 directory and got the same result.  Owner shows up as the same.  Protection on the directories is a little different.  old_ssh2.dir is the old one that I renamed.&lt;BR /&gt;&lt;BR /&gt; IBAV02_MIKEW&amp;gt; dir/fu old_ssh2.dir&lt;BR /&gt;&lt;BR /&gt;Directory SYS$SYSDEVICE:[CGI.MIKEW]&lt;BR /&gt;&lt;BR /&gt;OLD_SSH2.DIR;1                File ID:  (25470,2,0)&lt;BR /&gt;Size:            1/16         Owner:    [1,4]&lt;BR /&gt;Created:    21-AUG-2008 13:58:54.48&lt;BR /&gt;Revised:     9-SEP-2008 10:29:20.65 (2)&lt;BR /&gt;Expires:    &lt;NONE specified=""&gt;&lt;BR /&gt;Backup:     &lt;NO backup="" recorded=""&gt;&lt;BR /&gt;Effective:  &lt;NONE specified=""&gt;&lt;BR /&gt;Recording:  &lt;NONE specified=""&gt;&lt;BR /&gt;Accessed:   &lt;NONE specified=""&gt;&lt;BR /&gt;Attributes: &lt;NONE specified=""&gt;&lt;BR /&gt;Modified:   &lt;NONE specified=""&gt;&lt;BR /&gt;Linkcount:  1&lt;BR /&gt;File organization:  Sequential&lt;BR /&gt;Shelved state:      Online&lt;BR /&gt;Caching attribute:  Writethrough&lt;BR /&gt;File attributes:    Allocation: 16, Extend: 0, Global buffer count: 0&lt;BR /&gt;                    Default version limit: 4, Contiguous, MoveFile disabled&lt;BR /&gt;                    Directory file&lt;BR /&gt;Record format:      Variable length, maximum 512 bytes, longest 512 bytes&lt;BR /&gt;Record attributes:  No carriage control, Non-spanned&lt;BR /&gt;RMS attributes:     None&lt;BR /&gt;Journaling enabled: None&lt;BR /&gt;File protection:    System:RWED, Owner:RWED, Group:, World:&lt;BR /&gt;Access Cntrl List:  None&lt;BR /&gt;Client attributes:  None&lt;BR /&gt;&lt;BR /&gt;Total of 1 file, 1/16 blocks.&lt;BR /&gt;IBAV02_MIKEW&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;IBAV02_MIKEW&amp;gt; dir/fu ssh2.dir&lt;BR /&gt;&lt;BR /&gt;Directory SYS$SYSDEVICE:[CGI.MIKEW]&lt;BR /&gt;&lt;BR /&gt;SSH2.DIR;1                    File ID:  (25493,238,0)&lt;BR /&gt;Size:            1/16         Owner:    [1,4]&lt;BR /&gt;Created:     9-SEP-2008 10:29:28.28&lt;BR /&gt;Revised:     9-SEP-2008 10:29:28.28 (0)&lt;BR /&gt;Expires:    &lt;NONE specified=""&gt;&lt;BR /&gt;Backup:     &lt;NO backup="" recorded=""&gt;&lt;BR /&gt;Effective:  &lt;NONE specified=""&gt;&lt;BR /&gt;Recording:  &lt;NONE specified=""&gt;&lt;BR /&gt;Accessed:   &lt;NONE specified=""&gt;&lt;BR /&gt;Attributes: &lt;NONE specified=""&gt;&lt;BR /&gt;Modified:   &lt;NONE specified=""&gt;&lt;BR /&gt;Linkcount:  1&lt;BR /&gt;File organization:  Sequential&lt;BR /&gt;Shelved state:      Online&lt;BR /&gt;Caching attribute:  Writethrough&lt;BR /&gt;File attributes:    Allocation: 16, Extend: 0, Global buffer count: 0&lt;BR /&gt;                    Default version limit: 4, Contiguous, MoveFile disabled&lt;BR /&gt;                    Directory file&lt;BR /&gt;Record format:      Variable length, maximum 512 bytes, longest 512 bytes&lt;BR /&gt;Record attributes:  No carriage control, Non-spanned&lt;BR /&gt;RMS attributes:     None&lt;BR /&gt;Journaling enabled: None&lt;BR /&gt;File protection:    System:RWE, Owner:RWE, Group:RE, World:E&lt;BR /&gt;Access Cntrl List:  None&lt;BR /&gt;Client attributes:  None&lt;BR /&gt;&lt;BR /&gt;Total of 1 file, 1/16 blocks.&lt;BR /&gt;IBAV02_MIKEW&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for any help.&lt;BR /&gt;&lt;BR /&gt;&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NO&gt;&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NO&gt;&lt;/NONE&gt;</description>
      <pubDate>Tue, 09 Sep 2008 14:42:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-key-generation-problem/m-p/4265640#M56867</guid>
      <dc:creator>mikew_3</dc:creator>
      <dc:date>2008-09-09T14:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: SSH key generation problem.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-key-generation-problem/m-p/4265641#M56868</link>
      <description>Something else that I noticed. The ssh_keygen process creates the random_seed file if it doesn't exist.  See below:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;IBAV02_MIKEW&amp;gt; sd&lt;BR /&gt;  SYS$SYSDEVICE:[CGI.MIKEW.SSH2]&lt;BR /&gt;IBAV02_MIKEW&amp;gt;&lt;BR /&gt;IBAV02_MIKEW&amp;gt; dir&lt;BR /&gt;%DIRECT-W-NOFILES, no files found&lt;BR /&gt;IBAV02_MIKEW&amp;gt;&lt;BR /&gt;IBAV02_MIKEW&amp;gt; sho time&lt;BR /&gt;   9-SEP-2008 10:38:42&lt;BR /&gt;IBAV02_MIKEW&amp;gt; ssh_keygen&lt;BR /&gt;$1$dka0:[sys0.syscommon.][sysexe]tcpip$ssh_ssh-keygen2.exe: FATAL: ssh_userfile_&lt;BR /&gt;open: using non-current uid but not initialized (uid=65540, path=/sys$sysdevice/&lt;BR /&gt;cgi/mikew/ssh2/random_seed.)&lt;BR /&gt;IBAV02_MIKEW&amp;gt;&lt;BR /&gt;IBAV02_MIKEW&amp;gt; dir/d/siz=all&lt;BR /&gt;&lt;BR /&gt;Directory SYS$SYSDEVICE:[CGI.MIKEW.SSH2]&lt;BR /&gt;&lt;BR /&gt;RANDOM_SEED.;1             0/0         9-SEP-2008 10:38:53.01&lt;BR /&gt;&lt;BR /&gt;Total of 1 file, 0/0 blocks.&lt;BR /&gt;IBAV02_MIKEW&amp;gt;&lt;BR /&gt;IBAV02_MIKEW&amp;gt; sho time&lt;BR /&gt;   9-SEP-2008 10:39:01&lt;BR /&gt;IBAV02_MIKEW&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Sep 2008 14:47:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-key-generation-problem/m-p/4265641#M56868</guid>
      <dc:creator>mikew_3</dc:creator>
      <dc:date>2008-09-09T14:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: SSH key generation problem.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-key-generation-problem/m-p/4265642#M56869</link>
      <description>&lt;!--!*#--&gt;I haven't seen that one.&lt;BR /&gt;&lt;BR /&gt;SYS$SYSDEVICE:[cgi.mikew] is your SYS$LOGIN&lt;BR /&gt;(home) directory?  And you have write&lt;BR /&gt;permission there (and in/for [.ssh2])?&lt;BR /&gt;&lt;BR /&gt;Normally, a (small, non-text) random_seed&lt;BR /&gt;file gets created there.  Who owns yours, if&lt;BR /&gt;you have one)?&lt;BR /&gt;&lt;BR /&gt;alp $ dire /owne /secu [.ssh2]ran*&lt;BR /&gt;&lt;BR /&gt;Directory ALP$DKA0:[SMS.SSH2]&lt;BR /&gt;&lt;BR /&gt;RANDOM_SEED.;1       [SMS]                            (RWD,RWD,,)&lt;BR /&gt;&lt;BR /&gt;Total of 1 file.&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Sep 2008 14:49:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-key-generation-problem/m-p/4265642#M56869</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-09-09T14:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: SSH key generation problem.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-key-generation-problem/m-p/4265643#M56870</link>
      <description>&lt;!--!*#--&gt;&amp;gt; RANDOM_SEED.;1 0/0 9-SEP-2008 10:38:53.01&lt;BR /&gt;&lt;BR /&gt;Small, but not _that_ small:&lt;BR /&gt;&lt;BR /&gt;alp $ dire /owne /secu /size [.ssh2]ran*&lt;BR /&gt;&lt;BR /&gt;Directory ALP$DKA0:[SMS.SSH2]&lt;BR /&gt;&lt;BR /&gt;RANDOM_SEED.;1             1  [SMS]                            (RWD,RWD,,)&lt;BR /&gt;&lt;BR /&gt;Total of 1 file, 1 block.&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Sep 2008 14:53:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-key-generation-problem/m-p/4265643#M56870</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-09-09T14:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: SSH key generation problem.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-key-generation-problem/m-p/4265644#M56871</link>
      <description>Yes, that is my login directory:&lt;BR /&gt;&lt;BR /&gt;IBAV02_MIKEW&amp;gt; sho log sys$login&lt;BR /&gt;   "SYS$LOGIN" = "SYS$SYSDEVICE:[CGI.MIKEW]" (LNM$JOB_87702000)&lt;BR /&gt;IBAV02_MIKEW&amp;gt;&lt;BR /&gt;&lt;BR /&gt;Here is the dir listing of the random_seed file:&lt;BR /&gt;&lt;BR /&gt;IBAV02_MIKEW&amp;gt; dir/fu RANDOM_SEED.;1&lt;BR /&gt;&lt;BR /&gt;Directory SYS$SYSDEVICE:[CGI.MIKEW.SSH2]&lt;BR /&gt;&lt;BR /&gt;RANDOM_SEED.;1                File ID:  (25500,174,0)&lt;BR /&gt;Size:            0/0          Owner:    [1,4]&lt;BR /&gt;Created:     9-SEP-2008 10:38:53.01&lt;BR /&gt;Revised:     9-SEP-2008 10:38:53.04 (1)&lt;BR /&gt;Expires:    &lt;NONE specified=""&gt;&lt;BR /&gt;Backup:     &lt;NO backup="" recorded=""&gt;&lt;BR /&gt;Effective:  &lt;NONE specified=""&gt;&lt;BR /&gt;Recording:  &lt;NONE specified=""&gt;&lt;BR /&gt;Accessed:   &lt;NONE specified=""&gt;&lt;BR /&gt;Attributes: &lt;NONE specified=""&gt;&lt;BR /&gt;Modified:   &lt;NONE specified=""&gt;&lt;BR /&gt;Linkcount:  1&lt;BR /&gt;File organization:  Sequential&lt;BR /&gt;Shelved state:      Online&lt;BR /&gt;Caching attribute:  Writethrough&lt;BR /&gt;File attributes:    Allocation: 0, Extend: 0, Global buffer count: 0&lt;BR /&gt;                    Version limit: 4&lt;BR /&gt;Record format:      Stream_LF, maximum 0 bytes, longest 32767 bytes&lt;BR /&gt;Record attributes:  Carriage return carriage control&lt;BR /&gt;RMS attributes:     None&lt;BR /&gt;Journaling enabled: None&lt;BR /&gt;File protection:    System:RWD, Owner:RWD, Group:, World:&lt;BR /&gt;Access Cntrl List:  None&lt;BR /&gt;Client attributes:  None&lt;BR /&gt;&lt;BR /&gt;Total of 1 file, 0/0 blocks.&lt;BR /&gt;IBAV02_MIKEW&amp;gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NO&gt;&lt;/NONE&gt;</description>
      <pubDate>Tue, 09 Sep 2008 14:56:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-key-generation-problem/m-p/4265644#M56871</guid>
      <dc:creator>mikew_3</dc:creator>
      <dc:date>2008-09-09T14:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: SSH key generation problem.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-key-generation-problem/m-p/4265645#M56872</link>
      <description>&lt;!--!*#--&gt;&amp;gt; Size: 0/0 Owner: [1,4]&lt;BR /&gt;&lt;BR /&gt;[1,4]?  I own my own, as you can see.&lt;BR /&gt;&lt;BR /&gt;Also:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; open: using non-current uid but not initialized (uid=65540,&lt;BR /&gt;&lt;BR /&gt;Note that 65540 = 65536* 1+ 4, that is,&lt;BR /&gt;[1,4] in UNIX-compatible C RTL crypto-speak.&lt;BR /&gt;&lt;BR /&gt;I don't know how you're getting ssh2.dir&lt;BR /&gt;owned by SYSTEM instead of yourself.  Make&lt;BR /&gt;one yourself, perhaps?</description>
      <pubDate>Tue, 09 Sep 2008 15:07:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-key-generation-problem/m-p/4265645#M56872</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-09-09T15:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: SSH key generation problem.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-key-generation-problem/m-p/4265646#M56873</link>
      <description>&lt;!--!*#--&gt;&amp;gt; &amp;gt; [1,4]?  I own my own, as you can see.&lt;BR /&gt;&lt;BR /&gt;Well, you could see that I owned my own&lt;BR /&gt;random_seed, but it's true for ssh2.dir, too:&lt;BR /&gt;&lt;BR /&gt;alp $ dire /owne /secu  ssh2&lt;BR /&gt;&lt;BR /&gt;Directory ALP$DKA0:[SMS]&lt;BR /&gt;&lt;BR /&gt;SSH2.DIR;1           [SMS]                            (RWED,RWED,RE,E)&lt;BR /&gt;&lt;BR /&gt;Total of 1 file.&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Sep 2008 15:09:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-key-generation-problem/m-p/4265646#M56873</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-09-09T15:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: SSH key generation problem.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-key-generation-problem/m-p/4265647#M56874</link>
      <description>I created the SSH2 dir manually and set owner as [1,4].&lt;BR /&gt;&lt;BR /&gt;I looked at my user account in Authorize and this is my UIC is listed:&lt;BR /&gt;&lt;BR /&gt;UAF&amp;gt; sho mikew&lt;BR /&gt;&lt;BR /&gt;Username: MIKEW                            Owner:  SYSTEM MANAGER&lt;BR /&gt;Account:  SYSTEM                           UIC:    [3,2] ([SYSTEM])&lt;BR /&gt;CLI:      DCL                              Tables: DCLTABLES&lt;BR /&gt;Default:  SYS$SYSDEVICE:[CGI.MIKEW]&lt;BR /&gt;LGICMD: &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If I then look at the SYSTEM account it is listed as [1,4].&lt;BR /&gt;&lt;BR /&gt;Do you think the UIC on my account is the problem? &lt;BR /&gt;&lt;BR /&gt;I manually did this command on the SSH2 directory.&lt;BR /&gt;&lt;BR /&gt;set file/owner=[3,2] ssh2.dir&lt;BR /&gt;&lt;BR /&gt;Now the diretory lists the owner as system:&lt;BR /&gt;&lt;BR /&gt;IBAV02_MIKEW&amp;gt; dir/d/siz=all/owner ssh2.dir&lt;BR /&gt;&lt;BR /&gt;Directory SYS$SYSDEVICE:[CGI.MIKEW]&lt;BR /&gt;&lt;BR /&gt;SSH2.DIR;1                 1/16        9-SEP-2008 10:29:28.28  [SYSTEM]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Total of 1 file, 1/16 blocks.&lt;BR /&gt;IBAV02_MIKEW&amp;gt;&lt;BR /&gt;&lt;BR /&gt;Do you think this is the problem?  How can I correct this?&lt;BR /&gt;&lt;BR /&gt;Thanks again for everyones help.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Sep 2008 15:17:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-key-generation-problem/m-p/4265647#M56874</guid>
      <dc:creator>mikew_3</dc:creator>
      <dc:date>2008-09-09T15:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: SSH key generation problem.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-key-generation-problem/m-p/4265648#M56875</link>
      <description>Small correction in my previous post.  When I created the SSH2.dir file manually the owner was set to [1,4] by default.  I didn't specify the owner in the dir/create command.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Mike</description>
      <pubDate>Tue, 09 Sep 2008 15:20:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-key-generation-problem/m-p/4265648#M56875</guid>
      <dc:creator>mikew_3</dc:creator>
      <dc:date>2008-09-09T15:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: SSH key generation problem.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-key-generation-problem/m-p/4265649#M56876</link>
      <description>Michael,&lt;BR /&gt;&lt;BR /&gt;since you have SYSPRV (implicit, group # 2 is lower than the (default) SYSGEN param MAXSYSGROUP).&lt;BR /&gt;In that case, if you create a file (a directory is only a special file), then that file gets the ownership of the parent DIR, unless specified otherwise. SO, I assume that that the directory where your SSH2.DIR gets created, is also owned by [1,4]&lt;BR /&gt;--  as an aside, it is in violation of all security to have a USEr ACCOUNT having SYSPRV by default...)&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe</description>
      <pubDate>Tue, 09 Sep 2008 15:32:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-key-generation-problem/m-p/4265649#M56876</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2008-09-09T15:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: SSH key generation problem.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-key-generation-problem/m-p/4265650#M56877</link>
      <description>Correct, I do have SYSPRV.  My account is fully privleged.&lt;BR /&gt;&lt;BR /&gt;You are correct my home directory [CGI.MIKEW] has a UIC of [1,4]&lt;BR /&gt;&lt;BR /&gt;Any thoughts on what I need to do to get this working?</description>
      <pubDate>Tue, 09 Sep 2008 16:27:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-key-generation-problem/m-p/4265650#M56877</guid>
      <dc:creator>mikew_3</dc:creator>
      <dc:date>2008-09-09T16:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: SSH key generation problem.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-key-generation-problem/m-p/4265651#M56878</link>
      <description>&lt;!--!*#--&gt;&amp;gt; Any thoughts on what I need to do to get&lt;BR /&gt;&amp;gt; this working?&lt;BR /&gt;&lt;BR /&gt;Straighten out everything?&lt;BR /&gt;&lt;BR /&gt;Around here (which is more normal):&lt;BR /&gt;&lt;BR /&gt;UAF&amp;gt; show system&lt;BR /&gt;&lt;BR /&gt;Username: SYSTEM                           Owner:  SYSTEM MANAGER&lt;BR /&gt;Account:  SYSTEM                           UIC:    [1,4] ([SYSTEM])&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt; You are correct my home directory&lt;BR /&gt;&amp;gt; [CGI.MIKEW] has a UIC of [1,4]&lt;BR /&gt;&lt;BR /&gt;I'd fix that so that _you_ own your own home&lt;BR /&gt;directory.  That alone may solve the SSH&lt;BR /&gt;problem.&lt;BR /&gt;&lt;BR /&gt;Or cut back your privileges to see what&lt;BR /&gt;(else, all) you can't do in your own home&lt;BR /&gt;directory.</description>
      <pubDate>Tue, 09 Sep 2008 17:04:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-key-generation-problem/m-p/4265651#M56878</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-09-09T17:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: SSH key generation problem.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-key-generation-problem/m-p/4265652#M56879</link>
      <description>I created a temp account to test with.  I gave the new account a UIC of [10,10].  I created it's home directory and made it the owner.  I then ran ssh_keygen under this acount and it worked.&lt;BR /&gt;&lt;BR /&gt;$ ssh_keygen&lt;BR /&gt;Generating 2048-bit dsa key pair&lt;BR /&gt;   8 .oOo.oOo.oOO&lt;BR /&gt;Key generated.&lt;BR /&gt;2048-bit dsa, miketest@ibav02, Tue Sep 09 2008 18:40:39&lt;BR /&gt;Passphrase :&lt;BR /&gt;Again      :&lt;BR /&gt;&lt;BR /&gt;Key is stored with NULL passphrase.&lt;BR /&gt; (You can ignore the following warning if you are generating hostkeys.)&lt;BR /&gt; This is not recommended.&lt;BR /&gt; Don't do this unless you know what you're doing.&lt;BR /&gt; If file system protections fail (someone can access the keyfile),&lt;BR /&gt; or if the super-user is malicious, your key can be used without&lt;BR /&gt; the deciphering effort.&lt;BR /&gt;Private key saved to ssh2/id_dsa_2048_a&lt;BR /&gt;Public key saved to ssh2/id_dsa_2048_a.pub&lt;BR /&gt;$ &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I'm glad to know that this CAN work.  I just need to figure out what I need to change to make it work for other accounts.  &lt;BR /&gt;&lt;BR /&gt;Forgive my lack of understanding on this. We have always run our user accounts as group 3.  Is that part of the problem?  Because I am group 3 which is less then MAXSYSGROUP in SYSGEN?&lt;BR /&gt;&lt;BR /&gt;Thanks again for all of your help.  &lt;BR /&gt;&lt;BR /&gt;     &lt;BR /&gt;</description>
      <pubDate>Tue, 09 Sep 2008 18:03:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-key-generation-problem/m-p/4265652#M56879</guid>
      <dc:creator>mikew_3</dc:creator>
      <dc:date>2008-09-09T18:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: SSH key generation problem.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-key-generation-problem/m-p/4265653#M56880</link>
      <description>&amp;gt; UAF&amp;gt; sho mikew&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; Username: MIKEW Owner: SYSTEM MANAGER&lt;BR /&gt;&amp;gt; Account: SYSTEM UIC: [3,2] ([SYSTEM])&lt;BR /&gt;&amp;gt; CLI: DCL Tables: DCLTABLES&lt;BR /&gt;&amp;gt; Default: SYS$SYSDEVICE:[CGI.MIKEW]&lt;BR /&gt;&amp;gt; LGICMD: &lt;BR /&gt;&lt;BR /&gt;You really should fix the SYSTEM identifier to be for UIC [1,4] and not for your account MIKEW.  The following sequence should fix it:&lt;BR /&gt;&lt;BR /&gt;UAF&amp;gt; remove/id system&lt;BR /&gt;UAF&amp;gt; add/id system/value=uic:[1,4]&lt;BR /&gt;UAF&amp;gt; add/id mikew/value=uic:[3,2]&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Sep 2008 19:01:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-key-generation-problem/m-p/4265653#M56880</guid>
      <dc:creator>EdgarZamora_1</dc:creator>
      <dc:date>2008-09-09T19:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: SSH key generation problem.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-key-generation-problem/m-p/4265654#M56881</link>
      <description>Mu advise  : every SSH user must have it's own home directory and he must be the owner (of the root .dir file).&lt;BR /&gt;Then, whatever the privs, the SSH2 dir will be created correctly.&lt;BR /&gt;&lt;BR /&gt;Also check the doc of what the protections must be because some SSH product require that a certain value is applied and it will NOT tell you that it needs a certain setting. It will simply give an error message that you don't understand (as the one you got).&lt;BR /&gt;&lt;BR /&gt;Without google we would be totaly lost in this open software stuff.&lt;BR /&gt;&lt;BR /&gt;fwiw&lt;BR /&gt;&lt;BR /&gt;Wim&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Sep 2008 06:02:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-key-generation-problem/m-p/4265654#M56881</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2008-09-10T06:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: SSH key generation problem.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-key-generation-problem/m-p/4265655#M56882</link>
      <description>I fixed the identifier's for system and mikew and ssh_keygen works now.&lt;BR /&gt;&lt;BR /&gt;Thanks everyone.</description>
      <pubDate>Fri, 12 Sep 2008 17:45:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-key-generation-problem/m-p/4265655#M56882</guid>
      <dc:creator>mikew_3</dc:creator>
      <dc:date>2008-09-12T17:45:17Z</dc:date>
    </item>
  </channel>
</rss>

