OT: ssh between linux and sco unix
Fairlight
fairlite at fairlite.com
Thu Dec 10 10:51:04 PST 2009
With neither thought nor caution, Jose Lerebours blurted:
> > ssh-keygen -t rsa
You forgot the critical part--leave the passphrase -empty- during key
generation. That's the part Jose needs. :)
> > scp ~/.ssh/id_rsa.pub username at machine.domain.com:.ssh/authorized_keys2
Why are you using authorized_keys2? RSA keys have always gone in
authorized_keys. I think authorized_keys2 may be meant for DSA keys,
although I've honestly never even heard of the authorized_keys2 file before
your email, and I've been using ssh for automation for...well a very LONG
time. :)
In fact, I just read the man page (and expressly searched for
authorized_keys, and there's no mention of a file ending in 2 at all in the
docs.
Where'd you get that info?
> Tom,
>
> I am still required to enter a password to run shell scripts/commands off
> remote server.
>
> If I type ssh web at unix l /tmp
>
> I have to type password for user "web" as defined in the SCO box. Please
> notice the
> "unix" in web at unix is pointing to the SCO UNIX box.
>
> I really need this to work without having to enter the password - If I get
> this done, I
> will finish my project in matter of hours ...
Make sure that the ssh key itself is generated using an empty passphrase.
mark->
--
Audio panton, cogito singularis,
More information about the Filepro-list
mailing list