SUMMARY Peoblems getting sshd started on new Soalris 10 install

From: stan <stanb_at_panix.com>
Date: Sun Feb 26 2006 - 08:08:51 EST
On Sun, Feb 26, 2006 at 01:11:22AM -0500, Andrew Hall wrote:
> run "ssh-keygen -t rsa" to create the keys and you should be good.
> 

I finally got it running by recreatign thse files using /lib/svcmethod/sshd -c
(after deleting /etc/ssh/*host*) and then using ietdadm -d and -e. svacadm
enable would not start the service.

> Drew
> 
> stan wrote:
> 
> >I'm having problems getting sshd to start up on a ne Ultra 40 with Solaris
> >10 AMD64. 
> >
> >I've (I think) figured out the service admin facility commands that
> >_should_ start it up. But when I look in
> >/var/svc/log/network-ssh:default.log I see:
> >
> >[ Feb 24 20:21:22 Method "start" exited with status 1 ]
> >[ Feb 24 20:21:22 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.
> >
> >But these fiels do seem to be there:
> >
> >root@amanda # ls -l /etc/ssh*
> >total 196
> >-rw-r--r--   1 root     sys        88301 Jan 21  2005 moduli
> >-rw-r--r--   1 root     sys          861 Dec  8 10:55 ssh_config
> >-rw-------   1 root     root         672 Feb 15 15:21 ssh_host_dsa_key
> >-rw-r--r--   1 root     root         602 Feb 15 15:21 ssh_host_dsa_key.pub
> >-rw-------   1 root     root         887 Feb 15 15:21 ssh_host_rsa_key
> >-rw-r--r--   1 root     root         222 Feb 15 15:21 ssh_host_rsa_key.pub
> >-rw-r--r--   1 root     sys         5203 Dec  8 11:09 sshd_config
> >root@amanda #
> >
> >Could it be a permissions problem?
> >
> >
> >
> > 
> >

-- 
U.S. Encouraged by Vietnam Vote - Officials Cite 83% Turnout Despite Vietcong Terror 
- New York Times 9/3/1967
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Sun Feb 26 08:13:40 2006

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:56 EST