[Clusterusers] hex issues

Lee Spector lspector at hampshire.edu
Wed Dec 15 14:29:32 EST 2004


Jon,

Hmmm... I guess the ssh thing is a reasonable workaround, but it'd be 
nicer if rsh worked as it should...

It could also be that you're not having problems for other reasons, and 
that I'd still have problems with ssh. My processes spew lots of junk 
on startup -- cmucl has a verbose compiler and even though I redirect 
output locally the compiler messages all go back to the master... So 
it's possible that I'm generating bigger communications bursts than you 
are.

  -Lee


On Dec 15, 2004, at 2:03 PM, jon klein wrote:

> Well, apparently my messages aren't making it to the list, but here 
> was my solution:
>
> Begin forwarded message:
>
>> From: jon klein <jklein at hampshire.edu>
>> Date: December 15, 2004 10:13:16 AM EST
>> To: clusterusers at wonka.hampshire.edu
>> Subject: Re: [Clusterusers] hex issues
>>
>>
>> On Dec 15, 2004, at 10:01 AM, Lee Spector wrote:
>>
>>> Also -- for the ones that are failing to accept rsh they are 
>>> sometimes doing it very persistently. I've had to resort to manually 
>>> rshing to each such node (vanilla "rsh" works to get an interactive 
>>> shell, but rsh with a command argument does not) to kill processes.
>>>
>>> This seems like something that we should fix rather than work around 
>>> (though the loops are clever!). Ryan: could you do a little digging 
>>> on that error message ("protocol failure in circuit setup") and see 
>>> if there's a known fix?
>>
>> I use ssh for everything and haven't experienced any of these 
>> problems.
>>
>> The only catch with ssh is setting it to work without password 
>> authentication so that it can be used in scripts.  To do this, run 
>> "ssh-keygen -t dsa", and follow the instructions (using the default 
>> values it offers when appropriate).  Once this is done, there will be 
>> a file in .ssh/id_dsa.pub .  Copy the contents of this file and paste 
>> it (as a single line) into the file .ssh/authorized_keys .  After 
>> that, you should be able to ssh from master into all the other nodes 
>> without using a password.
>>
>> - jon
>>
>
>
--
Lee Spector
Dean, Cognitive Science + Professor, Computer Science
Cognitive Science, Hampshire College
893 West Street, Amherst, MA 01002-3359
lspector at hampshire.edu, http://hampshire.edu/lspector/
Phone: 413-559-5352, Fax: 413-559-5438





More information about the Clusterusers mailing list