[Clusterusers] hex issues

Lee Spector lspector at hampshire.edu
Thu Dec 16 22:01:39 EST 2004


Jon,

Sounds swell, but it doesn't seem to work for me -- I always get asked 
for a password. I did the "ssh-keygen -t dsa" (providing an empty 
password) and then, since I didn't have a .ssh/authorized_keys, I just 
did:

cp .ssh/id_dsa.pub .ssh/authorized_keys

But then when I try something like:

ssh n01

or

ssh n09.bw01.hampshire.edu

or

ssh n09.bw01.hampshire.edu ls

or

ssh lspector at n09.bw01.hampshire.edu ls

or

ssh -l lspector n09.bw01.hampshire.edu ls

or

anything else I can think of

I get:

lspector at n09.bw01.hampshire.edu's password:


Suggestions?

  -Lee



On Dec 15, 2004, at 10:13 AM, jon klein wrote:

>
> 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
>
>
> _______________________________________________
> Clusterusers mailing list
> Clusterusers at lists.hampshire.edu
> http://lists.hampshire.edu/mailman/listinfo/clusterusers
>
>
--
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