Link to home
Start Free TrialLog in
Avatar of proservesolutions
proservesolutionsFlag for United States of America

asked on

ssh and sftp servers works but ssh and sftp clients give errors

On an AIX 5.2 server, I've installed OpenSSL & OpenSSH:
# lslpp -l bos.rte.libc openssh.base.server openssl.base
  Fileset                      Level  State      Description
  ----------------------------------------------------------------------------
Path: /usr/lib/objrepos
  bos.rte.libc              5.2.0.17  COMMITTED  libc Library
  openssh.base.server     4.7.0.5201  COMMITTED  Open Secure Shell Server
  openssl.base             0.9.8.601  COMMITTED  Open Secure Socket Layer

Path: /etc/objrepos
  openssh.base.server     4.7.0.5201  COMMITTED  Open Secure Shell Server
  openssl.base             0.9.8.601  COMMITTED  Open Secure Socket Layer
#

I can ssh and sftp into the RS/6000 but I can't ssh or sftp from the server:
# ssh
exec(): 0509-036 Cannot load program ssh because of the following errors:
        0509-130 Symbol resolution failed for ssh because:
        0509-136   Symbol getpeereid (number 35) is not exported from
                   dependent module /usr/lib/libc.a(shr.o).
        0509-192 Examine .loader section symbols with the
                 'dump -Tv' command.
#

I've searched forums & FAQs with no success.  What could be fighting me on this?

Kind Regards,
Glenn Dunham
Avatar of robertfwoods
robertfwoods
Flag of United States of America image

Please install ssh client.

Following from one of my AIX servers:
$ lslpp -l |grep ssl
$ lslpp -l |grep ssh
  openssh.base.client        3.8.0.1  COMMITTED  Open Secure Shell Commands
  openssh.base.server        3.8.0.1  COMMITTED  Open Secure Shell Server
  openssh.license            3.8.0.1  COMMITTED  Open Secure Shell License
  openssh.man.en_US          3.8.0.1  COMMITTED  Open Secure Shell
  openssh.msg.en_US          3.8.0.1  COMMITTED  Open Secure Shell Messages -
  openssh.base.client        3.8.0.1  COMMITTED  Open Secure Shell Commands
  openssh.base.server        3.8.0.1  COMMITTED  Open Secure Shell Server
$

Please do not ask why openssl.base is not installed.
The box works. I can ssh in using private public keys and ssh out to other ssh enabled servers.
Go figure.
I am sure there is a way to link to other questions. I just can't find the widget.

so here is the message from another question.
If you search on
"How to call  UNIX ssh command from the windows XP ?"
you will find the following:

For you to be able to run shell scripts on a unix/linux system remotely from windows without entering password, you need to:

- have trust relation between the servers and your system

Here a link on how to make the trust:

http://www.astro.caltech.edu/~mbonati/WIRC/manual/DATARED/setting_up_no-password_ssh.html
http://waelchatila.com/2005/06/06/1118124232757.html
http://www.cvrti.utah.edu/~dustman/no-more-pw-ssh/


- use ssh client to connect  (you need sshd to be running on the other servers - which is part of secure shell s/w)

ssh clients for windows include:

putty or winscp

http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
http://winscp.net/eng/index.php

- if you use putty S/W, then from command line window and from the dir where putty is installed you can run

plink username@remoteserver "/path/to/command"
ASKER CERTIFIED SOLUTION
Avatar of proservesolutions
proservesolutions
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial