Hello,
I've to install the sshd over a slow satelit connection on many SCO servers.
The transmissions of the data works correct but if I want to start the sshd with the
rsh comand:
rsh host '/etc/rc2.d/S20sshd start'
and the following S20sshd script:
######################################################
if [ ! -f /etc/ssh/ssh_keygen ]
then
echo "Generating public and private RSA keys in "
echo "\t/etc/ssh/ssh_keygen and /etc/ssh/ssh_keygen.pub...\c"
/usr/local/bin/ssh-keygen -b 1024 -f /etc/ssh/ssh_keygen -N ''
/usr/local/bin/ssh-keygen -d -f /etc/ssh/ssh_host_dsa_key -N ""
retcode=$?
if [ $retcode -ne 0 ]
then
echo "Failed, /usr/local/bin/ssh-keygen returned: \c"
echo "$retcode"
else
echo "Ok"
fi
fi
echo "Starting SSH daemon V. 2.1.1p3:"
/usr/local/bin/sshd -h /etc/ssh/ssh_keygen || return=$rc_failed
########################################################################
The rsh command didn't comes back and didn't time out. Did anybody else get the same
problem?
If I try to start the sshd direct with:
rsh host '/usr/local/bin/sshd -h /etc/ssh/ssh_keygen'
I get the same problem.
thanks for help
B. Trompetter
___________________________________________________________
http://www.firemail.de - Ihr Briefkasten im Web. Einfach, schnell, sicher.
Lust auf Jetset & weltweite Party?
K�nnen Sie haben - auf der Expo! http://www.expo2000.de