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
10 More Discussions You Might Find Interesting
1. AIX
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
2. UNIX for Advanced & Expert Users
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
3. AIX
Cant install ssh on AIX 5.3 is there any easy way to solve the problem?? (2 Replies)
Discussion started by: wwwzviadi
2 Replies
4. 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
5. AIX
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
6. AIX
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
7. AIX
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
8. AIX
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
9. AIX
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
10. AIX
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
LEARN ABOUT LINUX
ssh-argv0
SSH-ARGV0(1) BSD General Commands Manual SSH-ARGV0(1)
NAME
ssh-argv0 -- replaces the old ssh command-name as hostname handling
SYNOPSIS
hostname | user@hostname [-l login_name] [command]
hostname | user@hostname [-afgknqstvxACNTX1246] [-b bind_address] [-c cipher_spec] [-e escape_char] [-i identity_file] [-l login_name]
[-m mac_spec] [-o option] [-p port] [-F configfile] [-L port:host:hostport] [-R port:host:hostport] [-D port] [command]
DESCRIPTION
ssh-argv0 replaces the old ssh command-name as hostname handling. If you link to this script with a hostname then executing the link is
equivalent to having executed ssh with that hostname as an argument. All other arguments are passed to ssh and will be processed normally.
OPTIONS
See ssh(1).
FILES
See ssh(1).
AUTHORS
OpenSSH is a derivative of the original and free ssh 1.2.12 release by Tatu Ylonen. Aaron Campbell, Bob Beck, Markus Friedl, Niels Provos,
Theo de Raadt and Dug Song removed many bugs, re-added newer features and created OpenSSH. Markus Friedl contributed the support for SSH
protocol versions 1.5 and 2.0. Jonathan Amery wrote this ssh-argv0 script and the associated documentation.
SEE ALSO
ssh(1)
Debian Project September 7, 2001 Debian Project