LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 02-06-2012, 08:40 AM   #1
Ronayn
Member
 
Registered: Jan 2006
Posts: 55

Rep: Reputation: 0
Configuring ssh for a cluster of 12 computers for a single account


Hello,

I've been using rsh and rlogin for many years on clusters (using RedHat 7 through FC6 OS). Currently, I am trying to configure a cluster with Fedora 14, and I noticed that the man pages mention that rsh/rlogin are deprecated and the ssh should be used instead.

The first quesion I have is: Are rsh/rlogin going to disappear at some point; leaving only ssh? The clusters I work on are on their own private network (unconnected to anything else), so I dont need ssh for security. However, if rsh/rlogin are going to disappear at some point, I'd like to switch over to ssh now.

I've done some research on ssh, and managed to get it working between two nodes on the cluster -- but it required a bit of user input to work (using ssh-keygen and ssh-copy-id). It appears I have to not only create a key on each account, but also register that key on each node I will be connecting to. That's a lot of work for setting up these 12 computers. And heaven forbid I am ever required to do it for more than 1 account!

Anyhow, I figured that their has to be a way to automate this process or at least speed it up a little. Any advice would be appreciated!
 
Old 02-06-2012, 09:35 AM   #2
klearview
Member
 
Registered: Aug 2006
Location: London
Distribution: Debian, Kubuntu
Posts: 572

Rep: Reputation: 75
SSH equivalent of rsh is host-based authentication - with host-based authentication there are no passwords or keys to present provided that usernames are the same.
 
Old 02-07-2012, 06:44 AM   #3
Ronayn
Member
 
Registered: Jan 2006
Posts: 55

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by klearview View Post
SSH equivalent of rsh is host-based authentication - with host-based authentication there are no passwords or keys to present provided that usernames are the same.
I am not sure if you did not understand the question, or perhaps you are unfamiliar with setting up ssh, because your answer doesnt follow the information I got from a general search on the internet (http://superuser.com/questions/8077/...pe-my-password).

To further clarify my original post, the 12 computers each have a user account called "weasel".
 
Old 02-07-2012, 10:21 AM   #4
klearview
Member
 
Registered: Aug 2006
Location: London
Distribution: Debian, Kubuntu
Posts: 572

Rep: Reputation: 75
Quote:
I am not sure if you did not understand the question
I understood your question.

That page solely describes user public key based authentication. So what? I'm suggesting that another authentication - host-based, is SSH equivalent to your rsh set-up (albeit with more security).

Quote:
perhaps you are unfamiliar with setting up ssh
Lol, thank you, now will you kindly <deleted>.

Last edited by Tinkster; 02-08-2012 at 11:02 AM. Reason: [i]mod_edit[/i]
 
Old 02-07-2012, 02:55 PM   #5
Ronayn
Member
 
Registered: Jan 2006
Posts: 55

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by klearview View Post
I understood your question.

That page solely describes user public key based authentication. So what? I'm suggesting that another authentication - host-based, is SSH equivalent to your rsh set-up (albeit with more security).

Lol, thank you, now will you kindly piss off.
Your initial response to my thread was an unhelpful cryptic one-liner, that didn't answer the question as I asked it.
 
Old 02-08-2012, 02:19 AM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,005
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Quote:
Originally Posted by klearview View Post
I understood your question.


That page solely describes user public key based authentication. So what? I'm suggesting that another authentication - host-based, is SSH equivalent to your rsh set-up (albeit with more security).


Lol, thank you, now will you kindly accept my apologies for being so unhelpful.
Please refrain from unhelpful comments, and from offending other members.



Cheers,
Tink
 
Old 02-08-2012, 06:54 AM   #7
Turbocapitalist
Member
 
Registered: Apr 2005
Distribution: Ubuntu, Debian, OS X (bsd)
Posts: 156

Rep: Reputation: 30
To use key-based authentication, you must load your public key into the file ~/.ssh/authorized_keys on each host in the pool. You can use the same keys on more than one host. Also, if you use an agent on your client, then you only need to enter the pass phrase once.

Host-based authentication also uses keys, but the authentication occurs at the host level. Of course it can be fine-tuned but, the basic set up is to allow ALL users from host X onto host Y via SSH if they have first logged into host X.

RSH should have been phased out in the 1990's and replaced completely by SSH since it is so insecure.
 
1 members found this post helpful.
  


Reply

Tags
ssh


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
Several old computers=Cluster? coldsalmon Linux - Networking 5 12-03-2013 06:25 PM
cannot login via ssh on a single, non root account - telnet ok paziulek Red Hat 18 06-19-2013 04:28 AM
single board computers PoleStar Linux - Embedded & Single-board computer 4 11-02-2011 02:26 PM
Setting up a cluster with old computers (for computation) Feynman Linux - Networking 13 10-11-2011 07:34 AM
ssh local account / ldap account Poil Linux - Security 5 02-26-2010 02:04 AM


All times are GMT -5. The time now is 12:09 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration