Søren Neigaard wrote:
> I have a Tru64 Unix that I want to ssh to from a Redhat Linux, and
> the Tru64 only allows ssh2. And I also need it to work without
> passwords. 
> 
> I have generated a RSA and a DSA key on the Redhat (with ssh-keygen
> -t rsa and ssh-keygen -t dsa). I have copied the id_rsa.pub into
> root/.ssh2/authorized_keys on the Tru64, I have copied the id_dsa.pub
> into root/.ssh2/authorized_keys2 on the Tru64, and I have copied the
> id_dsa.pub into root/.ssh2/hostkeys/key_22_MYIP.pub on the Tru64
> 
> None of this works, I still need to give the password each time... :(
> 
> Any ideas, what am I doing wrong here?
Did you enter a password when you generated the keys?  If you did, then you
have have to enter them when ssh'ing in.  If you don't want to enter a
password, regenerate the keys using ssh-gen like you did before, and when
prompted for a password, just hit enter without entering anything.  Put
these keys into your authorized_keys files on the remote machine and you
will be good to go.

JMF
James Francis
TechRx Inc.
530 Lindbergh Dr.
Coraopolis, Pa. 15108
Phone: (412) 474-1078   Fax: (412) 474-1074
This E-mail message is for the sole use of the intended recipient(s) and may
contain confidential and privileged information.  Any unauthorized review,
use, disclosure or distribution is prohibited.  If you are not the intended
recipient, please contact the sender by reply E-mail, and destroy all copies
of the original message.



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to