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

Centos6.5 搭建基于 SSH协议 Git Server 服务器

一 搭建Git-Server 下载安装 git python-setuptools 下载安装gitosis 添加用户git 配置管理项目管理端 二 新建项目web-git 添加项目开发者 pengu...
  • Air_Penguin
  • Air_Penguin
  • 2015年04月02日 11:33
  • 1033

10012---How do you think your friends would describe you

How do you think a friend or professor who knows you well would describe you? They would say I'm a...
  • xxxcyzyy
  • xxxcyzyy
  • 2017年02月04日 19:12
  • 137

MySQL5.7 The server time zone value 异常处理

com.mysql.cj.core.exceptions.InvalidConnectionAttributeException: The server time zone value '�й���׼...
  • u010725245
  • u010725245
  • 2017年05月05日 13:11
  • 1717

uva10943 How do you add?

题意:把K个不超过N的非负整数加起来,使得它们的和为N,有多少种方法 思路:令dp[i][j]为和为i用了j个数的方案数,那么转移就是dp[i][j]=dp[i-1][j]+dp[i][j-1] ...
  • qq_21057881
  • qq_21057881
  • 2016年04月16日 22:14
  • 339

【TED】How to get better at the things you care about?

0:11 Most of us go through life trying to do our best at whatever we do, whether it’s our job, fami...
  • Coding_ZXY
  • Coding_ZXY
  • 2017年02月02日 15:14
  • 4450

UVA 题目10943 How do you add?(DP,整数拆分)

Larry is very bad at math — he usually uses a calculator, which worked well throughout college. Unfo...
  • yu_ch_sh
  • yu_ch_sh
  • 2015年12月18日 09:30
  • 358

how to do research

首先,我不是Ph.D,但也在做一些研究工作。觉得这篇文章讲的很不错,就贴出来,间或有点自己的理解。  How to do research? And Related Issues of Ph.D Ed...
  • surgent
  • surgent
  • 2010年07月14日 20:39
  • 2993

UVa 10943 - How do you add?

题目:求一个数字n拆成k个数字的拆法数,可以重复,可以有0。 分析:dp,组合数学。             方法1:dp             状态:f(i,j)为 j 拆成 i 个数字的方...
  • mobius_strip
  • mobius_strip
  • 2014年08月10日 20:27
  • 1187

c语言:调用函数打印How do you do!

调用函数打印How do you do!程序:#includevoid print_star(){ printf("******************\n");}void print_message...
  • yanxiaolx
  • yanxiaolx
  • 2016年05月29日 13:40
  • 457

Using Hadoop Encryption Zone

BackgroundEncryption can be done at different layers in a traditional data management software/hardw...
  • houzhizhen
  • houzhizhen
  • 2017年10月23日 17:17
  • 769
您举报文章:How do enable an ssh server in a zone