Hello,
I have looked through all the documentation and the FAQs
and can still not find out a way (that works) to use ssh
as a direct replacement for rsh.
We have software on hostA that manages code on several systems
by running a system call from within the executable. The
system call performs an "rsh hostB command". We would
like to change the code to perform an "ssh hostB command".
So far we have not had any luck.
I am using ssh version:
SSH Version OpenSSH_2.1.1, protocol versions 1.5/2.0.
with openssl 0.9.5a support. The one wrinkle may be that
the user account running the software is NFS mounted on
all systems. That is, /home/user is the same on all systems.
I have tried /etc/hosts.equiv, ~/.rhosts, ~/.shosts.
I even tried the RSA authentication using ssh-keygen and
~/.ssh/authorization, ~/.ssh/id_rsa_1024_a.pub,
~/.ssh/authorized_keys, ~/.ssh/identification,
~/.ssh/known_hosts, and ~/.ssh/id_rsa_1024_a.
I did an ssh-keygen on hostA and hostB.
The contents of ~/.ssh/authorization is:
key id_rsa_1024_a.pub
The contends of ~/.ssh/identification is:
idkey id_rsa_1024_a
What I have noticed is that authorized_keys and id_rsa_1024_a.pub
are identical.
Is there something I need to put in the /usr/local/etc/ssh_config?
Am I missing some key configuration item? Is there a cookbook
approach to doing this that I missed in the documentation?
Any help is greatly appreciated,
Darren Curtis