LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-20-2005, 06:40 PM   #1
deviance99
Member
 
Registered: Jun 2004
Location: Mount Pleasant, MI
Posts: 41

Rep: Reputation: 16
Lamboot


I have setup my work cluster with password less rsh. This works fine when I was rsh or rlogin to anynode; however, when I try to execture lamboot, it prompts me for passwords.

I have given this command:
lamboot -ssi boot-rsh-agent rsh hosts.lam
-and this one-
lamboot -ssi boot-rsh-agent rlogin hosts.lam
-and this one-
lamboot -ssi boot-rsh-agent "rsh" hosts.lam

but they all get prompted for a password.

Any ideas?

-Justin
 
Old 07-22-2005, 07:03 AM   #2
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Rep: Reputation: 30
i do not know about RSH but u can setup SSH easily.

$ssh-keygen -t dsa -f ~/.ssh/mykey
$cd ~/.ssh
$mv mykey identity
$cp mykey.pub authorized_keys

at this point u can login urself without password.

check
$ssh YOURIPADDRESS.

if it works u can use SSH for CLUSTERING.
but you should export LAMRSH variable.
$export LAMRSH=ssh

so u can login ??
 
Old 07-25-2005, 06:36 PM   #3
deviance99
Member
 
Registered: Jun 2004
Location: Mount Pleasant, MI
Posts: 41

Original Poster
Rep: Reputation: 16
My only concern with passwordless SSH is: what about multiusers? Does every user have to issue the commands to create the SSH Key? Also, if they do, is there an easy way to create them when a new user is being created? Also, does every user have to execute the same commands on every node?

If that's the case, it might become very tedious very quickly.

Last edited by deviance99; 07-25-2005 at 06:37 PM.
 
Old 07-26-2005, 09:00 AM   #4
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Rep: Reputation: 30
my only idea is just acreate a single .ssh directory and put it in all the users directory.
so that every user can ssh without password.
or else u can just create an script whenever the user is added just kept the .ssh
dir to my home folder through root permission.

////////
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Authentification for lamboot? Cornholio Linux - Networking 1 02-28-2005 03:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration