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
NIM server setup on etherchannel setup environment pdtak AIX 1 05-28-2008 04:54 PM
unable to setup network,urgent help needed!! wrapster SUN Solaris 23 04-15-2008 03:46 AM
URGENT,URGENT- Need help tape drive installation sriny UNIX for Advanced & Expert Users 3 11-16-2006 03:43 PM
URGENT---URGENT--No OK PROMPt after RSC CONFIG sriny SUN Solaris 7 10-29-2006 11:06 AM
URGENT - setup port and dump all output to /dev/null or a file frustrated1 SUN Solaris 1 04-05-2006 07:36 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-05-2007
bucci bucci is offline
Registered User
  
 

Join Date: Sep 2006
Posts: 81
[urgent need help] SSH setup...

hi experts,

very need help, i had setup the SSH on solaris 8 and have generate the key but i have problem to start the sshd below is the error messages :

/etc/rc2.d/S97sshd start
Could not load host key: /usr/local/etc/ssh_host_key
Could not load host key: /usr/local/etc/ssh_host_rsa_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.

please advices

very appreciate for the help

thank you so much


Best Regards,

bucci
  #2 (permalink)  
Old 02-05-2007
suntac suntac is offline
Registered User
  
 

Join Date: Jul 2005
Location: Amsterdam
Posts: 97
Quote:
Originally Posted by bucci
hi experts,

very need help, i had setup the SSH on solaris 8 and have generate the key but i have problem to start the sshd below is the error messages :

/etc/rc2.d/S97sshd start
Could not load host key: /usr/local/etc/ssh_host_key
Could not load host key: /usr/local/etc/ssh_host_rsa_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.

please advices

very appreciate for the help

thank you so much


Best Regards,

bucci
http://www.unixguide.net/sun/ssh_installation.shtml states a example of the same problem. This is generate due to the fact that there is no key pair generated. please check again if the key pair is generated.

Also take a look at how to generate the keys.

Regards,
Johan Louwers.
  #3 (permalink)  
Old 02-05-2007
bucci bucci is offline
Registered User
  
 

Join Date: Sep 2006
Posts: 81
Quote:
Originally Posted by suntac
http://www.unixguide.net/sun/ssh_installation.shtml states a example of the same problem. This is generate due to the fact that there is no key pair generated. please check again if the key pair is generated.

Also take a look at how to generate the keys.

Regards,
Johan Louwers.

hi suntac,

do you know about this error?

/etc/init.d/sshd start
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0644 for '/usr/local/etc/asari@ovodapp_id_dsa.pub' are too open.
It is recommended that your private key files are NOT accessible by others.
This private key will be ignored.
bad permissions: ignore key: /usr/local/etc/asari@ovodapp_id_dsa.pub
Could not load host key: /usr/local/etc/asari@ovodapp_id_dsa.pub
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0644 for '/usr/local/etc/asari@ovodapp_id_dsa.pub' are too open.
It is recommended that your private key files are NOT accessible by others.
This private key will be ignored.
bad permissions: ignore key: /usr/local/etc/asari@ovodapp_id_dsa.pub
Could not load host key: /usr/local/etc/asari@ovodapp_id_dsa.pub
Disabling protocol version 1. Could not load host key
Disabling protocol version 2. Could not load host key
sshd: no hostkeys available -- exiting.


please advice

thank you so much


Regards,

bucci
  #4 (permalink)  
Old 02-05-2007
suntac suntac is offline
Registered User
  
 

Join Date: Jul 2005
Location: Amsterdam
Posts: 97
Quote:
Originally Posted by bucci
hi suntac,

do you know about this error?

/etc/init.d/sshd start
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0644 for '/usr/local/etc/asari@ovodapp_id_dsa.pub' are too open.
It is recommended that your private key files are NOT accessible by others.
This private key will be ignored.
bad permissions: ignore key: /usr/local/etc/asari@ovodapp_id_dsa.pub
Could not load host key: /usr/local/etc/asari@ovodapp_id_dsa.pub
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0644 for '/usr/local/etc/asari@ovodapp_id_dsa.pub' are too open.
It is recommended that your private key files are NOT accessible by others.
This private key will be ignored.
bad permissions: ignore key: /usr/local/etc/asari@ovodapp_id_dsa.pub
Could not load host key: /usr/local/etc/asari@ovodapp_id_dsa.pub
Disabling protocol version 1. Could not load host key
Disabling protocol version 2. Could not load host key
sshd: no hostkeys available -- exiting.


please advice

thank you so much


Regards,

bucci
I think that everyone can view and change the file /usr/local/etc/asari@ovodapp_id_dsa.pub you have to change the security settings on the files.

Can you post the ls -la results on the directory?

Regards,
Johan Louwers.
  #5 (permalink)  
Old 02-05-2007
sysgate's Avatar
sysgate sysgate is offline Forum Advisor  
Unix based
  
 

Join Date: Nov 2006
Location: Bulgaria
Posts: 1,318
usually chmod-ing the file to 644 solves the problem.
edit: Please excuse me and don't get cofused ...my bad
The posts below me shows the correct permissions.

Last edited by sysgate; 02-06-2007 at 02:32 AM..
  #6 (permalink)  
Old 02-05-2007
BOFH BOFH is offline Forum Advisor  
Registered User
  
 

Join Date: Feb 2005
Location: Broomfield, CO
Posts: 406
Quote:
Originally Posted by sysgate
usually chmod-ing the file to 644 solves the problem.
The error shows that 644 is too open and that it's ignoring the keys. Change the key perms to 600 and try to start sshd again.

Carl
  #7 (permalink)  
Old 02-05-2007
sb008 sb008 is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2007
Posts: 384
Quote:
Originally Posted by sysgate
usually chmod-ing the file to 644 solves the problem.
We are dealing with exactly the opposite. Keys are not supposed to be readable by others. Therefore the permissions should be 600 as stated in another post.

When the key files are readable everyone could "steal" them and use your keys.
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 02:33 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
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