SSHD does not start on solaris 10

From: Andre R. KRUGER (akruger@etilize.com)
Date: Mon Sep 19 2005 - 20:38:17 EDT


Brand new Machine from SUN ultra20

Everything works like a charm except for ssh

# svcadm enable ssh

# svcs -a | grep ssh
maintenance 14:59:02 svc:/network/ssh:default

# svcs -l ssh
fmri svc:/network/ssh:default
name SSH server
enabled true
state maintenance
next_state none
state_time Mon Sep 19 14:59:02 2005
logfile /var/svc/log/network-ssh:default.log
restarter svc:/system/svc/restarter:default
contract_id
dependency require_all/none svc:/system/filesystem/local (online)
dependency optional_all/none svc:/system/filesystem/autofs (online)
dependency require_all/none svc:/network/loopback (online)
dependency require_all/none svc:/network/physical (online)
dependency require_all/none svc:/system/cryptosvc (online)
dependency require_all/none svc:/system/utmp (online)
dependency require_all/restart file://localhost/etc/ssh/sshd_config
(online)

# cat /var/svc/log/network-ssh:default.log
[ Sep 19 14:59:02 Method "start" exited with status 1 ]
[ Sep 19 14:59:02 Executing start method ("/lib/svc/method/sshd start")
]
Could not load host key: /etc/ssh/ssh_host_rsa_key
Could not load host key: /etc/ssh/ssh_host_dsa_key
Disabling protocol version 2. Could not load hostkey or GSS-API
mechanisms
sshd: no hostkeys available -- exiting.
[ Sep 19 14:59:02 Method "start" exited with status 1 ]

the keys exist ...
# ls -dall /etc/ssh/*
-rw-r--r-- 1 root sys 88301 Jan 21 2005 /etc/ssh/moduli
-rw-r--r-- 1 root sys 887 Sep 19 13:51
/etc/ssh/ssh_config
-rw------- 1 root root 668 Sep 9 19:26
/etc/ssh/ssh_host_dsa_key
-rw-r--r-- 1 root root 602 Sep 9 19:26
/etc/ssh/ssh_host_dsa_key.pub
-rw------- 1 root root 883 Sep 9 19:26
/etc/ssh/ssh_host_rsa_key
-rw-r--r-- 1 root root 222 Sep 9 19:26
/etc/ssh/ssh_host_rsa_key.pub
-rw-r--r-- 1 root sys 5204 Sep 19 13:57
/etc/ssh/sshd_config

The problem manifests itself
#ssh localhost
ssh: connect to host localhost port 22: Network is unreachable

Any help would be appreciated

Andre R. Kruger
etilize Inc.

mailto:akruger@etilize.com

(310) 561 8447 voice Suite 200, 609 Deep Valley Drive
(310) 265 9025 fax Rolling Hills Estates, CA. 90274
(310) 920 4329 cell

*******************************************************************
* `Oh Tiber! father Tiber! To whom the Romans pray,
* A Roman's life, a Roman's arms, take thou in charge this day!'
* So he spake and, speaking, sheathed the good sword by his side,
* And, with his harness on his back, plunged headlong in the tide.
* Horatius - by Thomas Babbington, Lord Macaulay
*******************************************************************
~

This e-mail is privileged, confidential and subject to copyright. Any unauthorised use or disclosure of its contents is prohibited.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:31:41 EDT