Created on 02-17-2016 10:07 AM - edited 09-16-2022 03:04 AM
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
@Lubin Lemarchandwhy nor ssh using terminal?
ssh -P 2222 root@127.0.0.1
Created 02-17-2016 10:10 AM
@Lubin Lemarchandwhy nor ssh using terminal?
ssh -P 2222 root@127.0.0.1
Created 02-17-2016 10:36 AM
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
@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
Chmod 400 on your ssh key and chmod 600 on .ssh directory @Lubin Lemarchand
Created 02-17-2016 10:50 AM
That doesn't make any sense to me ^^
Created 02-17-2016 10:48 AM
Ok thank you very much. I guess i have to contact the IT who installed the cluster 😛
Created 02-17-2016 10:54 AM
Created 02-17-2016 10:23 AM
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
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).