How do enable an ssh server in a zone

转载 2011年01月18日 18:46:00

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

The link given in the command below ( )
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.
   Path: svc:/network/ssh:default
Reason: Service svc:/network/rpc/gss:default is uninitialized.
   Path: svc:/network/ssh:default
    See: man -M /usr/share/man -s 1M sshd
Impact: 1 dependent service is not running:

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


How to install an SSH Server in Windows Server 2008

Community Area Login Register Now Home Articles & Tutorials Windows Server ...

What is Logical Volume Management and How Do You Enable It in Ubuntu?

How Do I Enable Remote Access To MySQL Database Server?

By default remote access to MySQL database server is disabled for security reasons. However, some ti...

How to Enable Project Server License in SharePoint?

今天在SharePoint2016环境中配置了Project Server Service Application,并且新建了Project Site,在打开Site Collection要Enabl...

How do I enable core dumps for everybody

Overview In most Linux Distributions core file creation is disabled by default for a normal user....

An example of how to do a simulation by LAMMPS

An example of how to do a simulation by LAMMPS The polymer chain of 100 atoms was specially prepa...

How To Enable Apache Modules in Ubuntu

Enabling new Apache Modules in Ubuntu is an easy task once you learn how. On most systems when you w...

How can enable udev sync successfully in docker?

解决docker不支持在使用devicemapper存储类型下打开Udev Sync功能的问题。

How to do research in MIT.pdf )

  • 2013-04-17 09:36
  • 1.91MB
  • 下载

How To Do Research In the MIT AI Lab

Introduction What is this?  There's no guaranteed recipe for success at research. This doc...