Yes, 5.1 is definitely out of service (and soon 5.2 will be too, if it is not already), therefore an upgrade to 5.3, ML6 (CSP3) would be a good idea.
Still there are a few points i'd like to mention as possible problems:
1) As far as i know the sshd daemon is started not on the commandline but via the system resource controller (SRC). Try to issue the command:
startsrc -s ssh
If there is a error message like "the ssh subsystem is not on file" you might not have executed the correct installation procedure
2) On AIX 5.3 (and on 5.1 too, IIRC) you need to install the rpm-package openssl.0.9.7g-1 prior to install ssh/sshd. Issue
rpm -q openssl
and look if the output is like "openssl-0.9.7g-1". If not this might be the source of your problems.
3) Have you checked if you have installed the correct package? There are *several* packages to be installed via installp, issue:
lslpp -l openss*
the output should be like:
Code:
# lslpp -l openss*
Fileset Level State Description
----------------------------------------------------------------------------
Path: /usr/lib/objrepos
openssh.base.client 4.3.0.5300 COMMITTED Open Secure Shell Commands
openssh.base.server 4.3.0.5300 COMMITTED Open Secure Shell Server
openssh.man.en_US 4.3.0.5300 COMMITTED Open Secure Shell
Documentation - U.S. English
openssh.msg.en_US 4.3.0.5300 COMMITTED Open Secure Shell Messages -
U.S. English
Path: /etc/objrepos
openssh.base.client 4.3.0.5300 COMMITTED Open Secure Shell Commands
openssh.base.server 4.3.0.5300 COMMITTED Open Secure Shell Server
I hope this helps
bakunin
PS: ah, and a final point: do NOT use bash to start daemons in AIX. Usually it doesn't matter, but why take the risk? On AIX Korn Shell is used throughout the system and you should stick to that.
Yes, 5.1 is definitely out of service (and soon 5.2 will be too, if it is not already), therefore an upgrade to 5.3, ML6 (CSP3) would be a good idea.
Still there are a few points i'd like to mention as possible problems:
1) As far as i know the sshd daemon is started not on the commandline but via the system resource controller (SRC). Try to issue the command:
startsrc -s ssh
If there is a error message like "the ssh subsystem is not on file" you might not have executed the correct installation procedure
Code:
bash-2.05a# startsrc -s ssh
0513-085 The ssh Subsystem is not on file.
Quote:
Originally Posted by bakunin
2) On AIX 5.3 (and on 5.1 too, IIRC) you need to install the rpm-package openssl.0.9.7g-1 prior to install ssh/sshd. Issue
rpm -q openssl
and look if the output is like "openssl-0.9.7g-1". If not this might be the source of your problems.
Code:
bash-2.05a# rpm -q openssl
openssl-0.9.7l-2
Quote:
Originally Posted by bakunin
3) Have you checked if you have installed the correct package? There are *several* packages to be installed via installp, issue:
lslpp -l openss*
the output should be like:
Code:
# lslpp -l openss*
Fileset Level State Description
----------------------------------------------------------------------------
Path: /usr/lib/objrepos
openssh.base.client 4.3.0.5300 COMMITTED Open Secure Shell Commands
openssh.base.server 4.3.0.5300 COMMITTED Open Secure Shell Server
openssh.man.en_US 4.3.0.5300 COMMITTED Open Secure Shell
Documentation - U.S. English
openssh.msg.en_US 4.3.0.5300 COMMITTED Open Secure Shell Messages -
U.S. English
Path: /etc/objrepos
openssh.base.client 4.3.0.5300 COMMITTED Open Secure Shell Commands
openssh.base.server 4.3.0.5300 COMMITTED Open Secure Shell Server
I hope this helps
bakunin
PS: ah, and a final point: do NOT use bash to start daemons in AIX. Usually it doesn't matter, but why take the risk? On AIX Korn Shell is used throughout the system and you should stick to that.
Code:
bash-2.05a# lslpp -l openss*
lslpp: 0504-132 Fileset openssh-4.7p1 not installed.
lslpp: 0504-132 Fileset openssh-4.7p1.tar not installed.
lslpp: 0504-132 Fileset openssl-0.9.7l-2.aix5.1.ppc.rpm not installed.
lslpp: 0504-132 Fileset openssl-0.9.8g not installed.
lslpp: 0504-132 Fileset openssl-0.9.8g.tar not installed.
bash-2.05a# startsrc -s ssh
0513-085 The ssh Subsystem is not on file.
Code:
bash-2.05a# lslpp -l openss*
lslpp: 0504-132 Fileset openssh-4.7p1 not installed.
lslpp: 0504-132 Fileset openssh-4.7p1.tar not installed.
lslpp: 0504-132 Fileset openssl-0.9.7l-2.aix5.1.ppc.rpm not installed.
lslpp: 0504-132 Fileset openssl-0.9.8g not installed.
lslpp: 0504-132 Fileset openssl-0.9.8g.tar not installed.
That means you haven't installed ssh correctly, as i have suggested. You find a complete HOW-TO about how to obtain and install SSH correctly on AIX 4.3.3, 5.1, 52 and 5.3 here.
Quote:
Code:
bash-2.05a# rpm -q openssl
openssl-0.9.7l-2
good - met the requirements
Seems like you just have to install SSH correctly (that is: using AIX methods) and your problem should be solved.
now, when I try to install it with "smitty install", it says:
Code:
#---------------------------------------------------------------------
# No installable software products were found on the media.
#---------------------------------------------------------------------
I tried with with "." from that directory and with absolute path /tmp/openssh/ .......
You need to install the openssh.base too. Use "smitty install_all" to get to the installation menu and specify "." as the installation medium/path (presuming your current directory is where the images are). Go to the field "Software to install" and select the packages you want to install (base, license and all the messages you want to have on the machine), then select "COMMIT software updates", "EXTEND file systems if space needed" and "ACCEPT new license agreements", deselect "PREVIEW only?", "SAVE replaced files" and "Preview new LICENSE agreements" (who'd read them, anyways?) and start the installation.
Read the output of installp and analyze it. Maybe you see prerequisite failures or something such, which prevent the installation.
The problem is that I select the field "Software to install" and I press tab for a list. A window pops up and says "Use PF4 or Esc+4 to generate a list" but if I press F4 or Esc+4 doesn't list anything at all... I only can use "openssh.base" in that field.
Here's the output of the installation with "openssh.base" (it says it is already installed)...
Code:
Before command completion, additional instructions may appear below.
geninstall -I "a -cgNqwXY -V2 -J" -Z -d . -f File 2>&1
File:
I:openssh.base.client 4.1.0.1
I:openssh.base.server 4.1.0.1
+-----------------------------------------------------------------------------+
Pre-installation Verification...
+-----------------------------------------------------------------------------+
Verifying selections...done
Verifying requisites...done
Results...
WARNINGS
--------
Problems described in this section are not likely to be the source of any
immediate or serious failures, but further actions may be necessary or
desired.
Already Installed
-----------------
The number of selected filesets that are either already installed
or effectively installed through superseding filesets is 2. See
the summaries at the end of this installation for details.
NOTE: Base level filesets may be reinstalled using the "Force"
option (-F flag), or they may be removed, using the deinstall or
"Remove Software Products" facility (-u flag), and then reinstalled.
<< End of Warning Section >>
FILESET STATISTICS
------------------
2 Selected to be installed, of which:
2 Already installed (directly or via superseding filesets)
----
0 Total to be installed
Pre-installation Failure/Warning Summary
----------------------------------------
Name Level Pre-installation Failure/Warning
-------------------------------------------------------------------------------
openssh.base.client 4.1.0.1 Already installed
openssh.base.server 4.1.0.1 Already installed
COMMAND STATUS
Command: OK stdout: yes stderr: no
Before command completion, additional instructions may appear below.
geninstall -I "a -cgNqwXY -V2 -J" -Z -d . -f File 2>&1
File:
I:openssh.base.client 4.1.0.1
I:openssh.base.server 4.1.0.1
+-----------------------------------------------------------------------------+
Pre-installation Verification...
+-----------------------------------------------------------------------------+
Verifying selections...done
Verifying requisites...done
Results...
WARNINGS
--------
Problems described in this section are not likely to be the source of any
immediate or serious failures, but further actions may be necessary or
desired.
Already Installed
-----------------
The number of selected filesets that are either already installed
or effectively installed through superseding filesets is 2. See
the summaries at the end of this installation for details.
NOTE: Base level filesets may be reinstalled using the "Force"
option (-F flag), or they may be removed, using the deinstall or
"Remove Software Products" facility (-u flag), and then reinstalled.
<< End of Warning Section >>
FILESET STATISTICS
------------------
2 Selected to be installed, of which:
2 Already installed (directly or via superseding filesets)
----
0 Total to be installed
Pre-installation Failure/Warning Summary
----------------------------------------
Name Level Pre-installation Failure/Warning
-------------------------------------------------------------------------------
openssh.base.client 4.1.0.1 Already installed
openssh.base.server 4.1.0.1 Already installed
but
Code:
startsrc -s ssh
0513-085 The ssh Subsystem is not on file.
Hi,
Do you know what cause the error message ?
Nov 19 13:42:19 cfsasnd02 sshd: pam_env(sshd:setcred): non-alphanumeric key '-- /etc/environment' in /etc/environment', ignoring
Nov 19 13:42:20 cfsasnd02 sshd: pam_env(sshd:setcred): non-alphanumeric key '-- /etc/environment' in... (0 Replies)
Hi
I wanted to convert my pam libraries to 64 bit. so recently compiled my pam_banner and pam_wheel to 64 bit.
I got the following error...
sshd: dlsym failed pam_sm_authenticate:error ld.so.1 : sshd fatal: pam_sm_authenticate: can't find symbol
thnaks (8 Replies)
I have shamelessly tried all the possible ways to see if my /var/adm/loginlog logs user access entries for ssh but nothing has worked for me so far..:confused:
for telnet login its working fine.
Adding auth.info in syslog.conf works but i dont want that output.
Is there any way to edit... (2 Replies)
Hi,
I was able to putty a few server (Solaris 10) of mine using hostname, but when i change to ip address, it shows
login as: root
Using keyboard-interactive authentication.
Password:
Access denied
I change PermitRootLogin to yes. I tried to do a sshd restart, however
... (6 Replies)
Can someone tell me the difference between the (2) listed below:
oracle pts/1 ip1 May1 7:11 9:11
oracle sshd ip1 May1 7:11 8:22
How do I read the above information, the fact that the row for pts/1 has a longer time duration than the row for sshd. Why is the... (2 Replies)
On one of my production server sshd process is running on top . consuming 100 % amount of CPU .
Below is the output of the sshd process... Please advice I am not sure what should I be doing about this. Can I kill the process ? ... Thanking you in advance.
CPU TTY PID USERNAME PRI NI SIZE ... (1 Reply)
Friends,
I made the installation of the ssh in the it conspires,
I configured in the ssh_config the following
parameters..
SyslogFacility AUTH
LogLevel INFO
that should generate sshd.log in the /var/log.... more no this generating.
Somebody could help myself in... (0 Replies)
need some clarification:
if i ssh to the server & i restart the sshd process, did my connection gone?
one more thing, there are a few sshd processes in aix, how do i restart it all to read new config? using HUP?
thanks in advance! (2 Replies)
i just downloaded and installed succesfully openssh server, and am running it on netbsd 1.5, i can not login with anyuser, i enabled root login just to see what happens and i can login as root, but no other user, i checked my config and most things are default, whats going on? has any one else had... (2 Replies)