Created on 12-17-2015 08:51 AM - edited 09-16-2022 02:53 AM
Hi!
I have successfully downloaded and installed Hortonworks Sandbox. And i can bring it up in the Oracle Virtual Box. Now, i want to SSH into it. I am using Putty, i am n Windows 7. But every time i try to login as 'root' with password 'hadoop'; it says access denied. Could anyone please provide any pointers as to what could be going wrong? Screenshots below.
Thanks, in advance.
Created 12-17-2015 11:30 AM
Goto terminal of your sandbox in oracle virtualBox --> Press <Alt+F5> --> enter username - root --> enter password - hadoop --> it will ask you to set new password --> set new password --> then try to login via putty using new credentials
Created 12-17-2015 11:30 AM
Goto terminal of your sandbox in oracle virtualBox --> Press <Alt+F5> --> enter username - root --> enter password - hadoop --> it will ask you to set new password --> set new password --> then try to login via putty using new credentials
Created on 12-18-2015 06:16 AM - edited 08-19-2019 05:31 AM
Thanks for your response and do excuse me if this sounds silly; am just getting started. Issue is this, once the virtual box comes up, typing "Alt+F5" doesn't do anything. Where am i going wrong? I tried changing the input preference to "Auto capture keyboard" by clicking the box on and off, still not working.
Created on 01-03-2016 10:48 PM - edited 08-19-2019 05:31 AM
Hi @jb brahma ,
you just have to click into the VirtualBox window (the black terminal screen) to put the focus on it. Afterwards you can get to the login screen by hitting Alt+F5
Regards, Gerd
Created 12-18-2015 07:08 AM
The Sandbox also comes with browser based ssh client (Shell in the box).
First bring up the Sandbox splash screen by entering the URL displayed in the console. By default it should be http://127.0.0.1:8888 for VirtualBox.
Then go to the first tab "get started" and click the "View Advance Options". This will list a collection of additional URLs and credentials for additional tools in the sandbox including shell in the box.
Created 01-01-2016 03:34 PM
@Rafael Coss: 'root' with password 'hadoop' does not work in browser-based Sandbox. i can get into Hue but not in the shell. i am waiting reply from @jb brahma.
thanks.
Created 01-01-2016 03:33 PM
@jb thanks for posting. I am having same problem. were you able to resolve the issue ?
Created 02-04-2016 03:39 PM
I've got a similar problem. I can ssh with root/hadoop but I can't change the password. Doing it from an ssh client closes the connection with a 'Connection to 127.0.0.1 closed.' message as soon as enter a new password. And logging in via hte sandbox keeps resetting to the login screen.
Created on 11-17-2016 07:21 PM - edited 08-19-2019 05:31 AM
If the password changing prompt is not coming please do the following that works for me :
Just use the ALT+F5 in splash screen -> enter root/hadoop as use name and password -> type passwd (to change the password of root user) -> write two times the new desired password you want.
And use the same password into any client like putty/MobaXterm or you name it. (all the connection details will be the same port is 2222 and host would be localhost/127.0.0.1 will work)
Hope this would help.
Created 02-11-2017 09:12 AM
This was very useful! I am able to change the password from hadoop to something else and exit from shell and relogin with new password. Thanks for this Indrajeet!
Created 12-29-2016 05:08 PM
Hi,
If you ssh xxx.xxx.xxx.xxx -p 22 you'll be in Centos and you'll be able to use root. For this, use with ALT+F5 or putty.
If you ssh xxx.xxx.xxx.xxx -p 2222 you'll be connected to the sandbox (ie docker). In docker, you'll be able to use the predefined accounts (maria_dev, raj_ops, ... ) but not root... guess why ;-).
Created 02-11-2017 09:26 AM
I have tried this just now after what "indrajeet gour Nov 17, 2016 at 07:21 PM suggested."
What you do is: In your VM Player 12 and HDP 2.5, login using root / hadoop credentials. Then use passwd command and change the password to laurent1 (for example). Exit. Re-login using root / hadoop in VM Player. It will not allow you because you changed the password. Re-login using laurent1 password, it will work!
You can use the new credentials for Putty SSH port 22 and port 2222. Default maria_dev and raj_ops get eliminated because of passwd command. You can also use ssh xxx.xxx.xxx.xxx -p 22 or 2222 with new password laurent1. It will work.
Created 04-06-2018 07:39 PM
Hi all... i was facing the same issue but my issue has been resolved by just only changing the port from 22 to 2222.
try 2222 ssh port if you are not able to connect on 22 ssh port.
Created 04-14-2018 02:11 AM
Hello all, i download virtualbox sandbox appliance & started successfully; however like to configure new ip address as assign 2 adapter -NAT, Host only- i observed sandbox host is not getting IP address; can someone advise me pls
Created 04-14-2018 02:41 AM
seems 2 adapter is not accepting?