Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce, mail # user - ERROR:: SSH failour for distributed node hadoop cluster


Copy link to this message
-
RE: ERROR:: SSH failour for distributed node hadoop cluster
Kartashov, Andy 2012-10-25, 16:37
Yogesh,

One need to understand how passwordless ssh work.

Say there is a user “yosh”
He types ssh localhost and is prompted for a password. This is how to resolve this.

1.
Type : ssh-keygen -t rsa

-t stand for type and rsa (encryption)  - another type will be dsa.

Well, after you run above command,  a pair of private and public keys is generated and stored in your /home/yosh/.ssh folder.

“cd” in there and you will see two files. Id_rsa (private key) and id_rsa_pub (public key).

If you create a file called “authorized_keys” and place your public key in there you will achieve psswdless access. How to do it?

2.
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys

The above command reads your PubKey and appends to the file. After that try “ssh localhost” again. Voila! No more password request.

Now, imagine you are ssh-ing into this very same machine from another computer where u  log-in as yosh. “ssh < ip>”.  The machine will similarly let you in without password.

p.s. If you do not know ip address of that machine, find out by simply typing “hostname –i”.

Happy hadoop’ing.

AK47
From: yogesh dhari [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 25, 2012 12:12 PM
To: hadoop helpforoum
Subject: RE: ERROR:: SSH failour for distributed node hadoop cluster
Hi Andy,

I am still at that point, not able to solve it yet

Please help, Same issue with all settings and commands I have raise by Subject
ERROR: : Hadoop Installation in distributed mode.‏
to the mailing llist.
Thanks & Regards
Yogesh Kumar

________________________________
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: ERROR:: SSH failour for distributed node hadoop cluster
Date: Thu, 25 Oct 2012 16:01:56 +0000
Yogesh,

Have you figured it out?  I had the same issue (needed passwordless ssh) and managed. Let me know if you are still stuck.

AK47

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 25, 2012 4:28 AM
To: [EMAIL PROTECTED]
Subject: ERROR:: SSH failour for distributed node hadoop cluster
Importance: High

Hi all,

I am trying to run the command

ssh Master

it runs and shows after entering password.
Password: abc
Last login: Thu Oct 25 13:51:06 2012 from master

But ssh for Slave through error.

ssh Slave

it asks for password ans denie

Password: abc
Password: abc
Password: abc
Permission denied (publickey,keyboard-interactive).

Please suggest.
Thanks & regards
Yogesh Kumar
Please do not print this email unless it is absolutely necessary.
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com<http://www.wipro.com>
NOTICE: This e-mail message and any attachments are confidential, subject to copyright and may be privileged. Any unauthorized use, copying or disclosure is prohibited. If you are not the intended recipient, please delete and contact the sender immediately. Please consider the environment before printing this e-mail. AVIS : le présent courriel et toute pièce jointe qui l'accompagne sont confidentiels, protégés par le droit d'auteur et peuvent être couverts par le secret professionnel. Toute utilisation, copie ou divulgation non autorisée est interdite. Si vous n'êtes pas le destinataire prévu de ce courriel, supprimez-le et contactez immédiatement l'expéditeur. Veuillez penser à l'environnement avant d'imprimer le présent courriel
NOTICE: This e-mail message and any attachments are confidential, subject to copyright and may be privileged. Any unauthorized use, copying or disclosure is prohibited. If you are not the intended recipient, please delete and contact the sender immediately. Please consider the environment before printing this e-mail. AVIS : le présent courriel et toute pièce jointe qui l'accompagne sont confidentiels, protégés par le droit d'auteur et peuvent être couverts par le secret professionnel. Toute utilisation, copie ou divulgation non autorisée est interdite. Si vous n'êtes pas le destinataire prévu de ce courriel, supprimez-le et contactez immédiatement l'expéditeur. Veuillez penser à l'environnement avant d'imprimer le présent courriel