[Clusterusers] rshing into nodes

Lee Spector lspector at hampshire.edu
Thu Feb 10 13:30:00 EST 2005


Do you have an .rhosts file in your home directory (check with "ls 
-a")? If not then make one containing the text below. I *think* that's 
what's necessary for rsh BUT I think you probably want to use ssh 
anyway, since rsh apparently uses up some sort of resource that then 
breaks things. Try ssh-ing with your hex username and password. If that 
doesn't work then talk to Ryan -- I have no clue why that wouldn't 
work. If it does work then you can make it work without password as 
follows (thanks to Jon):

---
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 .  Make sure  
.ssh/authorized_keys has the right permissions with "chmod 644 
.ssh/authorized_keys". After that, you should be able to ssh from 
master into all the other nodes without using a password.
---

RYAN: Could you put the above paragraph somewhere were all new users 
will see it? Maybe make a hex-faq document that gets copied to each 
home directory as part of the account creation script? Or something 
else if it's easier... but something better than digging through email 
archives to retrieve this for each new user.

  -Lee




# IPs and Aliases for the head node
192.168.0.254
192.168.0.253
192.168.0.252

# IPs for the slave nodes n01-n99
192.168.0.1
192.168.0.2
192.168.0.3
192.168.0.4
192.168.0.5
192.168.0.6
192.168.0.7
192.168.0.8
192.168.0.9
192.168.0.10
192.168.0.11
192.168.0.12
192.168.0.13
192.168.0.14
192.168.0.15
192.168.0.16
192.168.0.17
192.168.0.18
192.168.0.19
192.168.0.20
192.168.0.21
192.168.0.22
192.168.0.23
192.168.0.24
192.168.0.25
192.168.0.26
192.168.0.27
192.168.0.28
192.168.0.29
192.168.0.30
192.168.0.31
192.168.0.32
192.168.0.33
192.168.0.34
192.168.0.35
192.168.0.36
192.168.0.37
192.168.0.38
192.168.0.39
192.168.0.40
192.168.0.41
192.168.0.42
192.168.0.43
192.168.0.44
192.168.0.45
192.168.0.46
192.168.0.47
192.168.0.48
192.168.0.49
192.168.0.50
192.168.0.51
192.168.0.52
192.168.0.53
192.168.0.54
192.168.0.55
192.168.0.56
192.168.0.57
192.168.0.58
192.168.0.59
192.168.0.60
192.168.0.61
192.168.0.62
192.168.0.63
192.168.0.64
192.168.0.65
192.168.0.66
192.168.0.67
192.168.0.68
192.168.0.69
192.168.0.70
192.168.0.71
192.168.0.72
192.168.0.73
192.168.0.74
192.168.0.75
192.168.0.76
192.168.0.77
192.168.0.78
192.168.0.79
192.168.0.80
192.168.0.81
192.168.0.82
192.168.0.83
192.168.0.84
192.168.0.85
192.168.0.86
192.168.0.87
192.168.0.88
192.168.0.89
192.168.0.90
192.168.0.91
192.168.0.92
192.168.0.93
192.168.0.94
192.168.0.95
192.168.0.96
192.168.0.97
192.168.0.98
192.168.0.99

# EOF



On Feb 10, 2005, at 12:53 PM, zhc00 at hampshire.edu wrote:

>
> Hi Everyone,
> There's probably something really trivial that I'm overlooking, but 
> I'm having
> trouble rshing into a node.  I use my username and password to ssh 
> into hex, but
> then when I try to rsh into a given node it asks me for my password 
> again and
> doesn't accept it.  I assumed it should be my same password that I 
> used to get
> into hex because that's the only one I've set up, but maybe not.  
> Thanks for
> your help.
> Zvi
>
> _______________________________________________
> 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