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


今天为了把项目挂到Github上并且和组员协作好,研究了下Github的使用方法,现在做个总结记录下来。 1.添加ssh-key(该部分转自Github官网 https://help.github....
  • Tsangyang
  • Tsangyang
  • 2013年03月09日 19:38
  • 16572


发件人 Apple 1.0 二进制文件被拒绝 2016年3月24日 2.16 Details Your app declares support for audio in the UIBackgro...
  • u012576807
  • u012576807
  • 2016年03月24日 12:45
  • 13913


转自: EGit/User Guide EGit Contents  [h...
  • shanliangliuxing
  • shanliangliuxing
  • 2013年02月04日 16:10
  • 20317

How to install an SSH Server in Windows Server 2008

Community Area Login Register Now Home Articles & Tutorials Windows Server ...
  • haiross
  • haiross
  • 2013年08月08日 13:56
  • 7066

What is Logical Volume Management and How Do You Enable It in Ubuntu?
  • user_friendly
  • user_friendly
  • 2012年03月13日 22:55
  • 621

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...
  • dancedan
  • dancedan
  • 2012年05月11日 15:43
  • 415

How to Enable Project Server License in SharePoint?

今天在SharePoint2016环境中配置了Project Server Service Application,并且新建了Project Site,在打开Site Collection要Enabl...
  • WarmSunshine7
  • WarmSunshine7
  • 2016年04月13日 10:21
  • 1515

How do I enable core dumps for everybody

Overview In most Linux Distributions core file creation is disabled by default for a normal user....
  • fanbird2008
  • fanbird2008
  • 2012年05月25日 10:45
  • 474

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...
  • suwei19870312
  • suwei19870312
  • 2012年07月04日 11:25
  • 1318

How can enable udev sync successfully in docker?

解决docker不支持在使用devicemapper存储类型下打开Udev Sync功能的问题。
  • Allan_Zeng
  • Allan_Zeng
  • 2016年03月29日 12:12
  • 1139
您举报文章:How do enable an ssh server in a zone