Created on 11-24-2017 04:35 AM - edited 09-16-2022 05:33 AM
Hello beautiful people,
I have installed virtualbox on my MacBook and following some of the questions here I realized that my machine doesn't show welcoming message after installation but it runs. However when I try :
ssh root@127.0.0.1 -p 2222
I get this:
The authenticity of host '[127.0.0.1]:2222 ([127.0.0.1]:2222)' can't be established RSA key fingerprint is SHA256:0igBYD9432edfr23fesdxYa2l0sdasdasLUXyg. Are you sure you want to continue connecting (yes/no)?
After I choose yes it goes this way:
Warning: Permanently added '[127.0.0.1]:2222' (RSA) to the list of known hosts. root@127.0.0.1's password: You are required to change your password immediately (root enforced) Changing password for root. (current) UNIX password:
Now I got lost because I am not sure if am doing it right. When I open this http://localhost:8080/ I get the ambari Ui but I cannot login using (root, my password), and also when I open http://localhost:4200/ shell opens in the browser and when I give my username root and password it requests my unix password and then connection closed and things gets back to square one.
I would really appreciate any help, point me to the right direction.
Created 11-24-2017 04:37 AM
You can do SSH using port 2222 as following with password as "hadoop" (current default password)
# ssh root@127.0.0.1 -p 2222 Enter Password: hadoop
Or use the Web Browser:
http://127.0.0.1:4200 Username: root Password: hadoop
.
For Ambari the default credentials as "admin" (username) and "admin" (password)
http://localhost:8080/
.
Created 11-24-2017 04:43 AM
If it still fails then please try this:
1. On your Local Laptop open the "known_hosts" file and remove the entry of "[127.0.0.1]:2222" and then same the "known_hosts" file and then try to do SSH to Virtual Box again:
Example: (on My Mac)
# cat ~/.ssh/known_hosts | grep 2222
.
if you find any entry for 127.0.0.1 on port 2222 then remove that entry and then try to d the SSH to Virtualbox (Sandbox) again as mentioned above. Using default root password "hadoop"
Created 11-24-2017 04:44 AM
I have followed the same instructions, I face the problem I face above. Ambari Ui Unable to sign in. Invalid username/password combination.
Browser-based shell gives me this message:
The authenticity of host '127.0.0.1 (127.0.0.1)' can't be established. RSA key fingerprint is 9c:3a:83:80:2c:d5:1f:a9:41:48:68:96:4d:0f:bb:ed. Are you sure you want to continue connecting (yes/no)?
Created 11-24-2017 06:10 AM
Are you using HDP Sandbox or HDF Sandbox?
Also have you tried adding the Hostname in your Macbook as described here and then tried using the SSH with the hostname like "sandbox.hortonworks.com"?
Mac users:
echo '{IP-Address} sandbox.hortonworks.com
sandbox-hdp.hortonworks.com sandbox-hdf.hortonworks.com'| sudo tee -a
/private/etc/hosts
.
Also are you getting this message even after removing the corresponding "127.0.0.1" entry from your "~/.ssh/known_hosts" file?
Example: (on My Mac)
# cat ~/.ssh/known_hosts | grep 2222
.
Fr ambari admin password reset you can refer to the following Thread: https://community.hortonworks.com/questions/85419/reset-ambari-admin-password.html