- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: SSH key generation problem.
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
тАО09-09-2008 07:05 AM
тАО09-09-2008 07:05 AM
IBAV02_MIKEW> ssh_keygen
$1$dka0:[sys0.syscommon.][sysexe]tcpip$ssh_ssh-keygen2.exe: FATAL: ssh_userfile_
open: using non-current uid but not initialized (uid=65540, path=/sys$sysdevice/
cgi/mikew/ssh2/random_seed.)
IBAV02_MIKEW>
Can someone tell me what I need to do to fix this?
Here is my version of TCPIP:
IBAV02_MIKEW> tcpip sho version
HP TCP/IP Services for OpenVMS Industry Standard 64 Version V5.5
on an HP rx2620 (1.60GHz/3.0MB) running OpenVMS V8.2-1
IBAV02_MIKEW>
Any help would be appreciated.
Thanks,
Michael White
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2008 07:30 AM
тАО09-09-2008 07:30 AM
Re: SSH key generation problem.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2008 07:42 AM
тАО09-09-2008 07:42 AM
Re: SSH key generation problem.
IBAV02_MIKEW> dir/fu old_ssh2.dir
Directory SYS$SYSDEVICE:[CGI.MIKEW]
OLD_SSH2.DIR;1 File ID: (25470,2,0)
Size: 1/16 Owner: [1,4]
Created: 21-AUG-2008 13:58:54.48
Revised: 9-SEP-2008 10:29:20.65 (2)
Expires:
Backup:
Effective:
Recording:
Accessed:
Attributes:
Modified:
Linkcount: 1
File organization: Sequential
Shelved state: Online
Caching attribute: Writethrough
File attributes: Allocation: 16, Extend: 0, Global buffer count: 0
Default version limit: 4, Contiguous, MoveFile disabled
Directory file
Record format: Variable length, maximum 512 bytes, longest 512 bytes
Record attributes: No carriage control, Non-spanned
RMS attributes: None
Journaling enabled: None
File protection: System:RWED, Owner:RWED, Group:, World:
Access Cntrl List: None
Client attributes: None
Total of 1 file, 1/16 blocks.
IBAV02_MIKEW>
IBAV02_MIKEW> dir/fu ssh2.dir
Directory SYS$SYSDEVICE:[CGI.MIKEW]
SSH2.DIR;1 File ID: (25493,238,0)
Size: 1/16 Owner: [1,4]
Created: 9-SEP-2008 10:29:28.28
Revised: 9-SEP-2008 10:29:28.28 (0)
Expires:
Backup:
Effective:
Recording:
Accessed:
Attributes:
Modified:
Linkcount: 1
File organization: Sequential
Shelved state: Online
Caching attribute: Writethrough
File attributes: Allocation: 16, Extend: 0, Global buffer count: 0
Default version limit: 4, Contiguous, MoveFile disabled
Directory file
Record format: Variable length, maximum 512 bytes, longest 512 bytes
Record attributes: No carriage control, Non-spanned
RMS attributes: None
Journaling enabled: None
File protection: System:RWE, Owner:RWE, Group:RE, World:E
Access Cntrl List: None
Client attributes: None
Total of 1 file, 1/16 blocks.
IBAV02_MIKEW>
Thanks in advance for any help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2008 07:47 AM
тАО09-09-2008 07:47 AM
Re: SSH key generation problem.
IBAV02_MIKEW> sd
SYS$SYSDEVICE:[CGI.MIKEW.SSH2]
IBAV02_MIKEW>
IBAV02_MIKEW> dir
%DIRECT-W-NOFILES, no files found
IBAV02_MIKEW>
IBAV02_MIKEW> sho time
9-SEP-2008 10:38:42
IBAV02_MIKEW> ssh_keygen
$1$dka0:[sys0.syscommon.][sysexe]tcpip$ssh_ssh-keygen2.exe: FATAL: ssh_userfile_
open: using non-current uid but not initialized (uid=65540, path=/sys$sysdevice/
cgi/mikew/ssh2/random_seed.)
IBAV02_MIKEW>
IBAV02_MIKEW> dir/d/siz=all
Directory SYS$SYSDEVICE:[CGI.MIKEW.SSH2]
RANDOM_SEED.;1 0/0 9-SEP-2008 10:38:53.01
Total of 1 file, 0/0 blocks.
IBAV02_MIKEW>
IBAV02_MIKEW> sho time
9-SEP-2008 10:39:01
IBAV02_MIKEW>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2008 07:49 AM
тАО09-09-2008 07:49 AM
Re: SSH key generation problem.
SYS$SYSDEVICE:[cgi.mikew] is your SYS$LOGIN
(home) directory? And you have write
permission there (and in/for [.ssh2])?
Normally, a (small, non-text) random_seed
file gets created there. Who owns yours, if
you have one)?
alp $ dire /owne /secu [.ssh2]ran*
Directory ALP$DKA0:[SMS.SSH2]
RANDOM_SEED.;1 [SMS] (RWD,RWD,,)
Total of 1 file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2008 07:53 AM
тАО09-09-2008 07:53 AM
Re: SSH key generation problem.
Small, but not _that_ small:
alp $ dire /owne /secu /size [.ssh2]ran*
Directory ALP$DKA0:[SMS.SSH2]
RANDOM_SEED.;1 1 [SMS] (RWD,RWD,,)
Total of 1 file, 1 block.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2008 07:56 AM
тАО09-09-2008 07:56 AM
Re: SSH key generation problem.
IBAV02_MIKEW> sho log sys$login
"SYS$LOGIN" = "SYS$SYSDEVICE:[CGI.MIKEW]" (LNM$JOB_87702000)
IBAV02_MIKEW>
Here is the dir listing of the random_seed file:
IBAV02_MIKEW> dir/fu RANDOM_SEED.;1
Directory SYS$SYSDEVICE:[CGI.MIKEW.SSH2]
RANDOM_SEED.;1 File ID: (25500,174,0)
Size: 0/0 Owner: [1,4]
Created: 9-SEP-2008 10:38:53.01
Revised: 9-SEP-2008 10:38:53.04 (1)
Expires:
Backup:
Effective:
Recording:
Accessed:
Attributes:
Modified:
Linkcount: 1
File organization: Sequential
Shelved state: Online
Caching attribute: Writethrough
File attributes: Allocation: 0, Extend: 0, Global buffer count: 0
Version limit: 4
Record format: Stream_LF, maximum 0 bytes, longest 32767 bytes
Record attributes: Carriage return carriage control
RMS attributes: None
Journaling enabled: None
File protection: System:RWD, Owner:RWD, Group:, World:
Access Cntrl List: None
Client attributes: None
Total of 1 file, 0/0 blocks.
IBAV02_MIKEW>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2008 08:07 AM
тАО09-09-2008 08:07 AM
Re: SSH key generation problem.
[1,4]? I own my own, as you can see.
Also:
> open: using non-current uid but not initialized (uid=65540,
Note that 65540 = 65536* 1+ 4, that is,
[1,4] in UNIX-compatible C RTL crypto-speak.
I don't know how you're getting ssh2.dir
owned by SYSTEM instead of yourself. Make
one yourself, perhaps?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2008 08:09 AM
тАО09-09-2008 08:09 AM
Re: SSH key generation problem.
Well, you could see that I owned my own
random_seed, but it's true for ssh2.dir, too:
alp $ dire /owne /secu ssh2
Directory ALP$DKA0:[SMS]
SSH2.DIR;1 [SMS] (RWED,RWED,RE,E)
Total of 1 file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2008 08:17 AM
тАО09-09-2008 08:17 AM
Re: SSH key generation problem.
I looked at my user account in Authorize and this is my UIC is listed:
UAF> sho mikew
Username: MIKEW Owner: SYSTEM MANAGER
Account: SYSTEM UIC: [3,2] ([SYSTEM])
CLI: DCL Tables: DCLTABLES
Default: SYS$SYSDEVICE:[CGI.MIKEW]
LGICMD:
If I then look at the SYSTEM account it is listed as [1,4].
Do you think the UIC on my account is the problem?
I manually did this command on the SSH2 directory.
set file/owner=[3,2] ssh2.dir
Now the diretory lists the owner as system:
IBAV02_MIKEW> dir/d/siz=all/owner ssh2.dir
Directory SYS$SYSDEVICE:[CGI.MIKEW]
SSH2.DIR;1 1/16 9-SEP-2008 10:29:28.28 [SYSTEM]
Total of 1 file, 1/16 blocks.
IBAV02_MIKEW>
Do you think this is the problem? How can I correct this?
Thanks again for everyones help.