OT: ssh between linux and sco unix

Tom Aldridge toma at aldridgeinc.com
Fri Dec 11 05:53:57 PST 2009


Mark replied:
> 
> You forgot the critical part--leave the passphrase -empty- during key
> generation.  That's the part Jose needs. :)

There are so many examples of this process and they pretty much ALL say 
that part, so I assumed he knew that. In fact, now that I just googled 
"ssh/authorized_keys2" and it returned 75,400 results) I see there are 
so many examples of this entire process I'm not sure why he brought it 
to this list or why I responded.

> 
>>> 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.  :)

Long time... me too. In fact, just the other night I set up a no 
password ssh rsync backup for my daughter's windows box (cygwin) to a 
web hosting's backup server and authorized_keys2 worked while 
authorized_keys didn't. I've used one or the other depending on which 
one took. I guess it's an ssh version thing... something I pointed out 
to him that could be an issue between his linux and sco box.

Tom


> 
> 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->







More information about the Filepro-list mailing list