Problem in SSH Install in AIX 4.3 Server.


 
Thread Tools Search this Thread
Operating Systems AIX Problem in SSH Install in AIX 4.3 Server.
# 1  
Old 12-11-2008
Problem in SSH Install in AIX 4.3 Server.

Hi Friends

I am trying to install ssh in one of my AIX4.3 server.
I downloaded openssh and openssl from IBM site. While installing them openssh failed.

The lpcheck command display looks like this:

# lppchk -v
lppchk: The following filesets need to be installed or corrected to bring
the system to a consistent state:
openssh.base.server 4.1.0.1 (usr: COMMITTED, root: not installed)

When i start sshd,the error is as displayed:

# /usr/sbin/sshd start
exec(): 0509-036 Cannot load program /usr/sbin/sshd because of the following errors:
0509-150 Dependent module /lib/libcrypto.a(libcrypto.so.0.9.7) could not be loaded.
0509-152 Member libcrypto.so.0.9.7 is not found in archive

Please let me know how to proceed.

Thanks
HG
efunds
# 2  
Old 12-11-2008
IIRC, you need ssh, ssl and zlib. Maybe you are missing zlib. This lslpp is from our last 4.3.3 box:

Code:
  freeware.openssh.rte       3.7.1.0  COMMITTED  OpenSSH 3.7p1
  freeware.zlib.rte          1.1.4.0  COMMITTED  zlib pre-compiled utility
  freeware.openssl.rte       0.9.6.7  COMMITTED  OpenSSL, Secure Sockets Layer

What error did installp/smitty show?
# 3  
Old 12-11-2008
Try installing openSSL first.
# 4  
Old 12-14-2008
Hi zaxxon

Thanks for the info.
I have installed zlib and i was able to install SSH.

Now i am bale to use ssh client services.Any idea how to enable the ssh server part.

Thanks
HG
efunds
# 5  
Old 12-15-2008
Hi Zaxxon

Just wanted to add the below.(As my previous post looked inadequate and short of logs)

After installing zlib,i was able to install SSH without any errors. (I installed through smitty and it didn't display any failures.)
However when i try to start sshd,the following error pops up:

$ /usr/sbin/sshd
exec(): 0509-036 Cannot load program /usr/sbin/sshd because of the following errors:
0509-150 Dependent module /usr/lib/libcrypto.a(libcrypto.so.0.9.7) could not be loaded.
0509-152 Member libcrypto.so.0.9.7 is not found in archive
$ ls -l /usr/lib/libcrypto.a
-r-xr-xr-x 1 root system 4972773 Jul 09 11:48 /usr/lib/libcrypto.a
$ lslpp -L | grep openssl
freeware.openssl.rte 0.9.6.7 C OpenSSL, Secure Sockets Layer
openssl.base 0.9.8.801 C Open Secure Socket Layer


I found in one of the forums that SSHD is looking for libcrypto 0.9.7 and not finding it as the current version is 0.9.6.7.
I tried downloading it,but couldn't find the binary(0.9.7) in bullfreeware.com.

Also attaching the dump -H output of /usr/sbin/sshd:
# dump -H /usr/sbin/sshd
/usr/sbin/sshd:
***Loader Section***
Loader Header Information
VERSION# #SYMtableENT #RELOCent LENidSTR
0x00000001 0x00000115 0x00000601 0x00000096
#IMPfilID OFFidSTR LENstrTBL OFFstrTBL
0x00000006 0x00006224 0x0000075a 0x000062ba

***Import File Strings***
INDEX PATH BASE MEMBER
0 /usr/lib:/lib:/opt/freeware/lib
1 libc.a shr.o
2 libpthreads.a shr_comm.o
3 libpthreads.a shr_xpg5.o
4 libcrypto.a libcrypto.so.0.9.7
5 libz.a libz.so.1

I find that there is no dir called /opt/freeware.
# ls -ld /opt/freeware
ls: 0653-341 The file /opt/freeware does not exist.

I don't understand why SSHD binary is calling for that.
Hope somebody can help.

Note -
I am able to perform the following:
1.Generate SSH keys
# /usr/local/bin/ssh-keygen -t dsa
Generating public/private dsa key pair.
Enter file in which to save the key (//.ssh/id_dsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in //.ssh/id_dsa.
Your public key has been saved in //.ssh/id_dsa.pub.
The key fingerprint is:
0e:1b:d9:1b:29:b5:1b:ac:54:eb:43:27:76:a5:0d:e9 root@mumux501

2. Connect to clients through SSH.

Thanks
HG
efunds
# 6  
Old 12-15-2008
Try to uninstall openssl, zlib and ssh. Then install ssh again; it should find it's dependencies if zlib and openssl packages are in the same directory like the ssh package. Or you try it like rbuder said, to install 1st zlib, openssl, then ssh.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

How to ssh from an AIX OS server to a Fabric OS server without password?

Hi I'd like to ssh from an AIX OS server ( v5.3) to a Fabric OS server ( v6.1.2 ) without password. I tried using dsa or rsa keys but it didn't work, the aix server still asked for the password. Somebody help, please :(:(:( (8 Replies)
Discussion started by: bobochacha29
8 Replies

2. AIX

AIX install and replicate to 5 server

Hi, I have to install 5 servers with same OS level and same packs, i wonder if there is an way to install 1 and then copy or clone the instalattion to the other 4? any suggetions? Rgs, (1 Reply)
Discussion started by: prpkrk
1 Replies

3. AIX

Unable to ssh or login to AIX server

We are having occasional problems accessing some AIX servers. When this happens we cannot ssh to the server in question or login via HMC console terminal window. We can ssh some commands to the server and get responses but other commands just hang, ssh serverA date returns the date, ssh serverA... (5 Replies)
Discussion started by: Kierong
5 Replies

4. AIX

Ssh problem on AIX 5.3

Hello, I have a weird ssh problem from host A to host B. Both hosts A and B running AIX 5.3. if host-A has no ~/.ssh/id_rsa.pub & ~/.ssh/id_rsa then it works fine. If I connect from host-A to host-B (as root user) ssh host-B it asks for root password and allows me to get remote root prompt upon... (0 Replies)
Discussion started by: reddyr
0 Replies

5. AIX

Passwordless SSH problem with AIX machines

Hello, I am trying to setup passwordless nophrase ssh between two machines for the user id: oraprod here is what I did for a non-root user: oraprod whoami: oraprod Machine A: ssh-keygen -t dsa cat ~/.ssh/id_rsa.pub # GO TO MACHINE B create (16 Replies)
Discussion started by: filosophizer
16 Replies

6. AIX

SSH and kerberos authentication problem AIX 5.3

I've configured an AIX 5.3 client to use our Windows AD for user authentication via Kerberos. When I try to ssh to the server using the AD credentials, I eventually get access but not after getting prompted for a password 3 times (which doesn't work) followed by an accepted login on the 4th... (3 Replies)
Discussion started by: jmroderick
3 Replies

7. AIX

SSH have problem on AIX

When i logged in system by ssh but if failed.It have a warning "connection refused".Can you help me,please,thanks (2 Replies)
Discussion started by: iljimae
2 Replies

8. AIX

AIX 5.3 SSH installation problem

Cant install ssh on AIX 5.3 is there any easy way to solve the problem?? (2 Replies)
Discussion started by: wwwzviadi
2 Replies

9. UNIX for Advanced & Expert Users

Cannot login via telnet or ssh to AIX 5.2 server

I somehow modified the system so that no one can telnet or ssh into this box as any user including root. I might have blown away important files, I don't know. Please let me know what I have to check to make it so that I can login. This is what I get when I try to telnet or ssh: telnet bk02... (5 Replies)
Discussion started by: pdtak
5 Replies

10. AIX

The problem after install gcc on AIX 5.3

The problem after install gcc on AIX 5.3 I download 5 rpm packages from IBM AIX Toolbox Download Page - Alphabetical Listing and install them. rpm -ivh gcc-4.0.0-1.aix5.3.ppc.rpm rpm -ivh libgcc-4.0.0-1.aix5.3.ppc.rpm rpm -ivh libstdcplusplus-4.0.0-1.aix5.3.ppc.rpm rpm -ivh... (1 Reply)
Discussion started by: zither
1 Replies
Login or Register to Ask a Question