+ -
当前位置:首页 → 问答吧 → ssh无法启动

ssh无法启动

时间:2010-12-13

来源:互联网

系统突然断电,重启后SSH 服务无法启动。

# svcs -xv
svc:/application/print/server:default (LP print server)
State: disabled since Mon Dec 13 16:24:53 2010
Reason: Disabled by an administrator.
   See: http://sun.com/msg/SMF-8000-05
   See: man -M /usr/share/man -s 1M lpsched
Impact: 2 dependent services are not running:
        svc:/application/print/rfc1179:default
        svc:/application/print/ipp-listener:default

svc:/network/ssh:default (SSH server)
State: maintenance since Mon Dec 13 16:25:06 2010
Reason: Restarting too quickly.
   See: http://sun.com/msg/SMF-8000-L5
   See: man -M /usr/share/man -s 1M sshd
   See: /var/svc/log/network-ssh:default.log
Impact: This service is not running.



# svcs -l ssh
fmri         svc:/network/ssh:default
name         SSH server
enabled      true
state        maintenance
next_state   none
state_time   Mon Dec 13 16:25:06 2010
logfile      /var/svc/log/network-ssh:default.log
restarter    svc:/system/svc/restarter:default
contract_id  
dependency   require_all/none svc:/system/filesystem/local (online)
dependency   optional_all/none svc:/system/filesystem/autofs (online)
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 (online)
dependency   require_all/restart file://localhost/etc/ssh/sshd_config (online)


不知道是什么原因,谢谢!!!

作者: jerry1121   发布时间: 2010-12-13

终于可以启动呢。
# IPv4 & IPv6
ListenAddress ::192.168.10.158

我绑定了服务器的IP地址,就启动不了呢。
我把192.168.10.158删了,就可以启动呢,不知道什么原因!

作者: jerry1121   发布时间: 2010-12-14

热门下载

更多