How to install ssh and disable telnet on AIX 6.1

///How to install ssh and disable telnet on AIX 6.1

How to install ssh and disable telnet on AIX 6.1

One of the biggest gripes about AIX is how security un-conscious it is. SSH now “comes with” AIX, but it’s on a separate cd. Anyway, if you want to implement it, and you really should “want” to. Here are the procedures.

Installing OpenSSH on AIX 6.1

1) Obtain the files. It’s downloadable here. Or you can find it on the expansion CD. Or the Linux toolkit for AIX CD.

2) Install the packages using whichever method suits you best smit or installp

3) Start your SSH.

AIX61# startsrc -g ssh

4) Edit your /etc/hosts.allow file. Otherwise you’ll see an error that says this:

ssh_exchange_identification: Connection closed by remote host

5) Test it out.

Linux# ssh AIX61

How to Disable Telnet on AIX 6.1

1) Comment out telnet from /etc/inetd.conf.

2) Reload the configuration file

AIX61# refresh -s inetd

3) Test. You should get a nice error message like this:

Linux# telnet AIX6.1

Trying 10.1.1.10…

telnet: connect to address 10.1.1.10: Connection refused

telnet: Unable to connect to remote host: Connection refused

This post was copied in part from Ryan Tang’s Tech Notes the original article can be found at the following link:

Ryan Tangs Tech Notes

By | 2016-05-26T13:15:15+00:00 Monday, December 21st, 2009|IBM / AIX, My Work|1 Comment

About the Author:

I am truly lucky to have found Sharon Garratt, a wonderful partner to share my passions for food, technology, photography and travel with. I really don’t know how she puts up with me.

  • Sreejuisin

    Thanks!!!