The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > 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 09:08 AM
continue example xramm Shell Programming and Scripting 7 07-03-2007 12:10 AM
Continue an 'scp' tranfser? deckard UNIX for Advanced & Expert Users 3 12-19-2005 02:08 PM
Will the continue function work ???? kamlesh_p Shell Programming and Scripting 2 10-12-2005 05:27 AM
continue the suspended jobs killerserv UNIX for Advanced & Expert Users 6 01-10-2002 12:09 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 07-02-2008
Registered User
 

Join Date: Oct 2007
Posts: 288
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.
Reply With Quote
Forum Sponsor
  #2  
Old 07-02-2008
Registered User
 

Join Date: Oct 2007
Posts: 288
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 08:44 PM.
Reply With Quote
  #3  
Old 07-05-2008
Registered User
 

Join Date: May 2008
Location: s'pore
Posts: 886
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
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 05:17 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0