How do enable an ssh server in a zone

On Jun 2, 9:50 am, Dave <f...@xxxxxxx> wrote:

I've just installed a zone in Solaris 10 update 6 on a Blade 2000, but I
can't see to get the ssh server running.

First I check if it is online

# svcs ssh
STATE          STIME    FMRI
offline         0:56:54 svc:/network/ssh:default

It's not, so I try to enable it.

# svcadm enable ssh

but it is still not running.

# svcs ssh
STATE          STIME    FMRI
offline         0:56:54 svc:/network/ssh:default

So I tried the -r option to enable any dependancies.

# svcs -l ssh
fmri         svc:/network/ssh:default
name         SSH server
enabled      true
state        offline
next_state   none
state_time   Tue Jun 02 00:56:54 2009
restarter    svc:/system/svc/restarter:default
dependency   require_all/none svc:/system/filesystem/local (online)
dependency   optional_all/none svc:/system/filesystem/autofs (offline)
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 (offline)
dependency   require_all/restart file://localhost/etc/ssh/sshd_config
(online)

The link given in the command below ( http://sun.com/msg/SMF-8000-GE )
does not help much.

# svcs -xv ssh
svc:/network/ssh:default (SSH server)
  State: offline since Tue Jun 02 00:56:54 2009
Reason: Service svc:/system/sysidtool:net is starting.
    See: http://sun.com/msg/SMF-8000-GE
   Path: svc:/network/ssh:default
           svc:/system/filesystem/autofs:default
             svc:/network/nfs/client:default
               svc:/network/nfs/nlockmgr:default
                 svc:/network/rpc/bind:default
                   svc:/system/sysidtool:net
Reason: Service svc:/network/rpc/gss:default is uninitialized.
    See: http://sun.com/msg/SMF-8000-GE
   Path: svc:/network/ssh:default
           svc:/system/filesystem/autofs:default
             svc:/network/nfs/client:default
               svc:/network/rpc/gss:default
    See: man -M /usr/share/man -s 1M sshd
Impact: 1 dependent service is not running:
         svc:/milestone/multi-user-server:default

--
I respectfully request that this message is not archived by companies as
unscrupulous as 'Experts Exchange' . In case you are unaware,
'Experts Exchange'  take questions posted on the web and try to find
idiots stupid enough to pay for the answers, which were posted freely
by others. They are leeches.


You need to zlogin -C myzone once its installed.

This will finish the install and then give you the console login
prompt.
.

你可能感兴趣的:(server,Solaris,service,ssh,Path,Exchange)