- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
i am unable to login in shell in a box using root/hadoop
Created on ‎02-17-2016 10:07 AM - edited ‎09-16-2022 03:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm using the HDP 2.3.2 sandbox. I access to it using an IP adress in my browser. The Ambari view works just fine and i can access Hue using the credentials given by Hortonworks.
However, the built-in-web SSH client "Shell in a box" doesn't allow me access when i use "root" as login and "hadoop" as password.
Any thoughts?
Thank you in advance
Created ‎02-17-2016 10:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Lubin Lemarchandwhy nor ssh using terminal?
ssh -P 2222 root@127.0.0.1
Created ‎02-17-2016 10:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Lubin Lemarchandwhy nor ssh using terminal?
ssh -P 2222 root@127.0.0.1
Created ‎02-17-2016 10:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your answer. Unfortunately, i'm not using a local VM (i don't know if i make much sense i'm a newbie). The IP adress i use is 192.xxx.xx.xx like. As i use Windows, i had to download mobaXterm to have a terminal to try your code. I tried it with both ip adresses and with port 22 as well (port given by hortonworks). The best result i get is when i type : ssh -p 22 root@192.xxx.xx.xx. I'm asked for a password which doesn't seem to be "hadoop".
Created ‎02-17-2016 10:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Lubin Lemarchand you need to use the password you used when you installed the cluster. Otherwise read up how to reset your root password
Created ‎02-17-2016 10:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Chmod 400 on your ssh key and chmod 600 on .ssh directory @Lubin Lemarchand
Created ‎02-17-2016 10:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That doesn't make any sense to me ^^
Created ‎02-17-2016 10:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok thank you very much. I guess i have to contact the IT who installed the cluster 😛
Created ‎02-17-2016 10:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Created ‎02-17-2016 10:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you reset your password after initial login? Whats the error message?
Make sure that you provide the correct password. If you do ssh then login will fail if you don't have the new password.
Created ‎02-17-2016 10:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your answer. I did not reset the password since i 've never been able to login. The error message is : Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
