+ -
当前位置:首页 → 问答吧 → AIX 昨天SSH还可以登录 今天缺无法登录 但是telnet却可以登录

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.

作者: 摩的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