Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Odd behaviour of SSH-3.2.x (AIX 5x)
November 11, 2003, 9:53 am
rate this thread
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
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.
- Harald Servat Gelabert
November 11, 2003, 11:14 am
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
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: firstname.lastname@example.org 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
- » writing a script to make sure the port is established all the time
- — Previous thread in » Secure Shell Forum
- » protocol question - issue with exit-status inside unfinished data stream?
- — Newest thread in » Secure Shell Forum