AIX 昨天SSH还可以登录 今天缺无法登录 但是telnet却可以登录
时间:2011-07-04
来源:互联网
# stopsrc -s sshd
0513-004 The Subsystem or Group, sshd, is currently inoperative.
# startsrc -s sshd
0513-059 The sshd Subsystem has been started. Subsystem PID is 33358020.
# telnet localhost 22
Trying...
telnet: connect: A remote host refused an attempted connect operation.
# ifconfig -a
ssh [email protected]
输出如下:
#[/]lssrc -s sshd
Subsystem Group PID Status
sshd ssh inoperative
#[/]startsrc -s sshd
0513-059 The sshd Subsystem has been started. Subsystem PID is 824454.
#[/]lssrc -s sshd
Subsystem Group PID Status
sshd ssh inoperative
在起ssh的进程时似乎就有异样
# ssh -v -v localhost
OpenSSH_5.2p1, OpenSSL 0.9.8k 25 Mar 2009
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Failed dlopen: /usr/krb5/lib/libkrb5.a(libkrb5.a.so): 0509-022 Cannot load module /usr/krb5/lib/libkrb5.a
(libkrb5.a.so).
0509-026 System error: A file or directory in the path name does not exist.
debug1: Error loading Kerberos, disabling Kerberos auth.
debug2: ssh_connect: needpriv 0
debug1: Connecting to localhost [127.0.0.1] port 22.
debug1: connect to address 127.0.0.1 port 22: Connection refused
ssh: connect to host localhost port 22: Connection refused
# startsrc -s sshd
0513-059 The sshd Subsystem has been started. Subsystem PID is 27590676.
0513-004 The Subsystem or Group, sshd, is currently inoperative.
# startsrc -s sshd
0513-059 The sshd Subsystem has been started. Subsystem PID is 33358020.
# telnet localhost 22
Trying...
telnet: connect: A remote host refused an attempted connect operation.
# ifconfig -a
ssh [email protected]
输出如下:
#[/]lssrc -s sshd
Subsystem Group PID Status
sshd ssh inoperative
#[/]startsrc -s sshd
0513-059 The sshd Subsystem has been started. Subsystem PID is 824454.
#[/]lssrc -s sshd
Subsystem Group PID Status
sshd ssh inoperative
在起ssh的进程时似乎就有异样
# ssh -v -v localhost
OpenSSH_5.2p1, OpenSSL 0.9.8k 25 Mar 2009
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Failed dlopen: /usr/krb5/lib/libkrb5.a(libkrb5.a.so): 0509-022 Cannot load module /usr/krb5/lib/libkrb5.a
(libkrb5.a.so).
0509-026 System error: A file or directory in the path name does not exist.
debug1: Error loading Kerberos, disabling Kerberos auth.
debug2: ssh_connect: needpriv 0
debug1: Connecting to localhost [127.0.0.1] port 22.
debug1: connect to address 127.0.0.1 port 22: Connection refused
ssh: connect to host localhost port 22: Connection refused
# startsrc -s sshd
0513-059 The sshd Subsystem has been started. Subsystem PID is 27590676.
作者: 摩的168 发布时间: 2011-07-04
ssh的配置文件是不是有问题,看看日志。
作者: aikxu 发布时间: 2011-07-04
debug1: Failed dlopen: /usr/krb5/lib/libkrb5.a(libkrb5.a.so): 0509-022 Cannot load module /usr/krb5/lib/libkrb5.a
作者: bj161109 发布时间: 2011-07-04
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28