SSH on AIX

sgangenamoni
sgangenamoni used Ask the Experts™
on
root@server # ssh server2
Killed
root@server #

Also my ssh is running on both the servers. So why am I not able to ssh...??
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2013
Top Expert 2013

Commented:
Hi,

which version of ssh do you run? Where did you get it from?

Did it ever work, or is this a new installation?

Please issue

ssh -V

to get version information, and

ssh -v server2

to get some verbose output.

Please post the results!

wmp

Author

Commented:
root@server1 # ssh -V
OpenSSH_5.0p1, OpenSSL 0.9.8h 28 May 2008
[/etc/ssh]
root@server1 # ssh -v server2
OpenSSH_5.0p1, OpenSSL 0.9.8h 28 May 2008
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Failed dlopen: /usr/krb5/lib/libkrb5.a(libkrb5.a.so): Could not load module /usr/krb5/lib/libkrb5.a(libkrb5.a.so).
System error: No such file or directory

debug1: Error loading Kerberos, disabling Kerberos auth.
debug1: Connecting to afv001 [69.230.151.101] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
Killed
[/etc/ssh]

Commented:
Try to telnet the server as follows

telnet server2 22

Let us know the output.
Most Valuable Expert 2013
Top Expert 2013
Commented:
Seems that ssh breaks just while trying to open the local private key files in ~/.ssh

Are these keys present/readable or maybe corrupted?

I once saw a similiar thing after an AIX upgrade and before reboot. Did you upgrade?

Did it ever work? If yes, usual but important question: what changed?

Do you get messages in the errorlog? Issue "errpt | more" and check!

If nothing else helps: Do you have root access toserver2 via telnet or the like? We could then set up logging for the remote sshd and see what we get.

amolg: What more than the sshd version string do you expect?
Most Valuable Expert 2013
Top Expert 2013

Commented:
Please forgive my curiosity: What was the solution you found??

Thx for the points!

wmp

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial