Unix administration - Enabling SSH on AIX and Solaris

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > December 2004 > Enabling SSH on AIX and Solaris





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Enabling SSH on AIX and Solaris
amit b

2004-12-30, 2:47 am

Hi Gurus,

I want to enable and disable SSH on AIX for my testing purpose. The
application which I would be testing is going to communicate with the Unix
server if SSH is enabled, if SSH is disabled then it would display error
message. Can anyone of you help me out in this?

Thanks in advance.

Amit


Laurenz Albe

2004-12-30, 7:56 am

amit b <amitb_77in@rediffmail.com> wrote:
> I want to enable and disable SSH on AIX for my testing purpose. The
> application which I would be testing is going to communicate with the Unix
> server if SSH is enabled, if SSH is disabled then it would display error
> message. Can anyone of you help me out in this?


First, install and configure ssh on the AIX box.

To enable it, uncomment the corresponding line in /etc/inet.conf and
refresh the inetd subsystem (or send the inetd process a 'kill -1', which
amounts to the same).

To disable ssh, comment the line in /etc/inetd.conf and refresh inetd.

Yours,
Laurenz Albe
F. Michael Orr

2004-12-30, 5:53 pm

On Thu, 30 Dec 2004 10:04:20 +0000, Laurenz Albe wrote:

> amit b <amitb_77in@rediffmail.com> wrote:
>
> First, install and configure ssh on the AIX box.
>
> To enable it, uncomment the corresponding line in /etc/inet.conf and
> refresh the inetd subsystem (or send the inetd process a 'kill -1', which
> amounts to the same).
>
> To disable ssh, comment the line in /etc/inetd.conf and refresh inetd.
>
> Yours,
> Laurenz Albe


Actually, if you get IBM's SSH from their Linux Toolbox, then ssh runs
under SRC control, and you can start and stop it like any other AIX
service (stopsrc, startsrc, or refresh).

With Solaris 8, you have to acquire SSH from an outside source
(sunfreeware.com). Solaris 9 has it as part of the installation, though I
haven't had a chance to work with it yet.
Dave Hinz

2004-12-30, 5:53 pm

On Thu, 30 Dec 2004 10:45:32 +0530, amit b <amitb_77in@rediffmail.com> wrote:
> Hi Gurus,
>
> I want to enable and disable SSH on AIX for my testing purpose. The
> application which I would be testing is going to communicate with the Unix
> server if SSH is enabled, if SSH is disabled then it would display error
> message. Can anyone of you help me out in this?


/etc/services and /etc/inetd.conf

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com