Odd behaviour of SSH-3.2.x (AIX 5x)

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I have compiled SSH2 (3.2.5) on an AIX 5.1 box with the xlc v6 which
up to now always produced code I could live with.

Now I have seen odd behaviour. If I sit at machine A and try to
connect to a live machine B with no SSH-daemon active, SSH continues
to proceed with a connection to the machine A. This is annoying
especially if you want to do a 'ssh root@B halt -q ' :)

There are no errors in the debug-messages, the ssh simply states local
IP and remote IP are the same. Any ideas? Mine are:

1. I am too stupid to configure ssh.

2. I do not understand ssh.

3. I am cursed by an evil entity living in my AIX box.

Snipplet of log:

debug: Ssh2Client/sshclient.c:1477: Creating userauth protocol.
debug: client supports 3 auth methods: 'hostbased,publickey,password'
debug: Ssh2Common/sshcommon.c:537: local ip = 141.x.y.43, local port =
debug: Ssh2Common/sshcommon.c:539: remote ip = 141.x.y.43, remote port
= 22
debug: Ssh2Common/sshcommon.c:630: Creating connection protocol.
debug: SshConnection/sshconn.c:1945: Wrapping...

It goes without saying that the local and remote ip are different. The
true strangeness is that if I say ssh root@<ip-address> instead of
root@B, SSH produces the expected result by stating it cannot connect
to the IP.



Re: Odd behaviour of SSH-3.2.x (AIX 5x)

As far as I suspect, maybe the machine A has a bad DNS info of
machine B? Are seen other services on machine B from machine A?

Therefore, I will recommend you not to PermitRootLogin in your

Best regards,

TheMadHatter wrote:
Quoted text here. Click to load it

             Harald Servat Gelabert (harald at cepba dot upc dot es)
   o//o      Centre Europeu de Paral.lelisme de Barcelona          CEPBA
  o//o       WWW...: http://www.cepba.upc.es Tel: +34-93-401 74 23
 o//o        e-mail: suport@cepba.upc.es           Fax: +34-93-401 25 77
o//o  CEPBA  c/Jordi Girona, 1-3, Ṃdul D6. E-08034 Barcelona, Catalunya

The fundamental difference between Unix and Macintosh operating system
is that Unix was designed to please programmers, whereas the Mac was
designed to please users. (Windows, on the other hand, was designed to
please accountants, but that's another story)
-- from The UNIX haters handbook, page 163

Site Timeline