SSH Problem RHEL -> AIX Connection closed by remote host
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
There is less than 24 hours left to vote in the 2015 LinuxQuestions.org Members Choice Awards. Click here to go to the polls. Vote now and make sure your voice is heard!
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
That will provide debug information. Also check the permissions of your ~/.ssh/ directory, the permissions of the private key and the permissions of your home directory. Also these permissions on the AIX_server. Lax permissions can cause ssh to not allow a connection.
Another problem could be if your IP address doesn't match a DNS lookup. I had a similar problem because I used "user@host" instead of "email@example.com" in AllowUsers on the servers configuration. The difference from before was the order of the two forms in my /etc/hosts file.
Also check the logs on the AIX server. It may indicate exactly what the problem was.
I've been assuming that that features of ssh on the AIX server match openssh's.
Well the problem is diffrences between openSSH versions.
The source (linux) server is OpenSSH_4.3p2, and the destination (aix) server is OpenSSH_5.2p1.
I managed not having the "connection closed by ip_address" massage by changing in the aix sshg_config file the parameter "Protocol" from 2 to 1.
Now it connects, but I can't configure login with no password.
I added the rsa public key of the linux server (source) to the authorizes_keys of the aix server (destination), with no success.
Is there a way to be able to login without passwort from low version of ssh to higher version of ssh?