The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
awk continue anhtt Shell Programming and Scripting 3 03-11-2008 12:08 PM
continue example xramm Shell Programming and Scripting 7 07-03-2007 03:10 AM
Continue an 'scp' tranfser? deckard UNIX for Advanced & Expert Users 3 12-19-2005 05:08 PM
Will the continue function work ???? kamlesh_p Shell Programming and Scripting 2 10-12-2005 08:27 AM
continue the suspended jobs killerserv UNIX for Advanced & Expert Users 6 01-10-2002 03:09 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rating: Thread Rating: 1 votes, 5.00 average. Display Modes
  #1 (permalink)  
Old 07-02-2008
itik itik is offline
Registered User
  
 

Join Date: Oct 2007
Location: Toronto, Ontario
Posts: 350
ssh installation won't continue

Hi All,

I was following an instructions in the Installing OpenSSH Packages - SPARC and Intel/Solaris 8 regarding ssh installation on Solaris 8.

When I got on "Step Five: Installing ssh and sshd" and run the following:

# ssh-keygen -t rsa1 -f /usr/local/etc/ssh_host_key -N ""
PRNG is not seeded
#

What did I do wrong? Please help.

Thanks in advance.
  #2 (permalink)  
Old 07-02-2008
itik itik is offline
Registered User
  
 

Join Date: Oct 2007
Location: Toronto, Ontario
Posts: 350
There was a faq on how to fix that, I did that by patching it with [112438 (Sparc) or 112439 (x86)]

but I got this on the next steps:

# /etc/rc2.d/S98sshd start
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0644 for '/usr/local/etc/ssh_host_key' are too open
It is recommended that your private key files are NOT accessibl
This private key will be ignored.
bad permissions: ignore key: /usr/local/etc/ssh_host_key
Could not load host key: /usr/local/etc/ssh_host_key
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0644 for '/usr/local/etc/ssh_host_rsa_key' are too
It is recommended that your private key files are NOT accessibl
This private key will be ignored.
bad permissions: ignore key: /usr/local/etc/ssh_host_rsa_key
Could not load host key: /usr/local/etc/ssh_host_rsa_key
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0644 for '/usr/local/etc/ssh_host_dsa_key' are too
It is recommended that your private key files are NOT accessibl
This private key will be ignored.
bad permissions: ignore key: /usr/local/etc/ssh_host_dsa_key
Could not load host key: /usr/local/etc/ssh_host_dsa_key
Disabling protocol version 1. Could not load host key
Disabling protocol version 2. Could not load host key
sshd: no hostkeys available -- exiting.
#

So I change the permission to 0600 to the three files above. Then wala...

Thanks!

Last edited by itik; 07-02-2008 at 11:44 PM..
  #3 (permalink)  
Old 07-05-2008
incredible incredible is offline Forum Advisor  
Registered User
  
 

Join Date: May 2008
Location: s'pore
Posts: 2,024
You would not had gone thru the hassle if you've just used " ssh-keygen -t rsa " alone, I guess.. I remember myself creating the keys in that manner. Anyway good finding dudem
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 06:57 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0