- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Sign in with root user
- Labels:
-
Hortonworks Data Platform (HDP)
Created ‎12-31-2018 05:01 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm trying to login to sandbox with root user pwd:hadoop but it fails(I never changed the root password)
Created on ‎12-31-2018 05:16 PM - edited ‎08-17-2019 03:17 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Created ‎01-01-2019 12:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please make sure that you are using the correct SSH port to connect to the Sandbox. The port will be 2222 something like following:
# ssh root@127.0.0.1 -p 2222 Enter password : hadoop
.
Or you can also use the Web Client to do SSH login to sandbox like by accessing the following URL.
Created ‎01-01-2019 12:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Look like there is another duplicate thread opened for the same query. Please close one of them.
Created ‎01-01-2019 08:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm trying to login as root user with hadoop password but with no success, not by the web client and not by ssh, attaching print screens.
Created ‎01-01-2019 01:41 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It seems you duplicated your thread this doesn't help, firstly we lose track of the previous history and start diagnostics from scratch which is a waste of time.
Having said that using the windows cmd line sshlogin.png won't work because the 127.0.0.1 maps to the local hosts the host via the loopback network interface on your windows machine and NOT the Sandbox running in Oracle Virtualbox. Download the putty and use port tunneling to map the port 2222 !
HTH
Created ‎01-01-2019 08:05 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for your answer.
I would like to close the other thread, I just don't know how.
regarding your answer, the windows command line is connected via openssh that's why login with other user (such as maria_dev) works.
any way login with web client fails as well.
Created ‎01-02-2019 01:26 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you provide some more details on your deployment.
1. Which deployment of the sandbox are you using? Virtual-box/VmWare/Docker ?
2. Are you trying to login to the Sandbox container or the VM that is hosting the container ?
If you are trying to login to the sandbox host VM, then try running the following command ( assuming you have mapped the IP address of the sandbox to the hostname )
ssh root@sandbox-hdp.hortonworks.com -p 2200
If you are trying to login to the HDP container , then run the following command ( you would be prompted to change the password at first login )
ssh root@sandbox-hdp.hortonworks.com -p 2201
use hadoop as the password in both the cases
ssh root@sandbox-hdp.hortonworks.com -p 2200
root@sandbox-hdp.hortonworks.com's password:
[root@sandbox-host ~]#
ssh root@sandbox-hdp.hortonworks.com -p 2201
root@sandbox-hdp.hortonworks.com's password:
[root@sandbox-hdp ~]#
Created on ‎01-07-2019 01:35 AM - edited ‎08-17-2019 03:17 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello all ( @Weiss Ruth, @Jay Kumar SenSharma, @Vinesh Paul, @Geoffrey Shelton Okot),
I have the same problem (as @Weiss Ruth) with my HDP 2.5 Oracle VM VirtualBox with Hortonworks Docker Sandbox. VirtualBox is running on Windows 10 laptop. Under user maria_dev with password maria_dev everything works perfectly.
$ ssh maria_dev@127.0.0.1 -p 2222 maria_dev@127.0.0.1's password: Last login: Sun Jan 6 23:03:10 2019 from 10.0.2.2 [maria_dev@sandbox ~]$
If I try to login as root with following string:
$ ssh root@127.0.0.1 -p 2222
with password hadoop login is unsuccessful with following message: Permission denied, please try again.
$ ssh root@127.0.0.1 -p 2222 root@127.0.0.1's password: Permission denied, please try again. root@127.0.0.1's password:
The same issue when I tried to substitute user with command su root under user maria_dev but message a bit different: su: incorrect password
$ ssh maria_dev@127.0.0.1 -p 2222 maria_dev@127.0.0.1's password: Last login: Sun Jan 6 23:18:02 2019 from 10.0.2.2 [maria_dev@sandbox ~]$ su root Password: su: incorrect password [maria_dev@sandbox ~]$
At the same time root/hadoop works fine in VM terminal (tty1). Defaul picture when machine started looks like following:
and after Alt+F5 with root/hadoop login is successful:
It would be great if Hortonwork's experts could clarify what is going wrong with root/hadoop in cases above?
Created ‎04-17-2019 06:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Alexander Lebedev , Are you still facing login issues with the Sandbox?
This looks like a redirection issue with your localhost and would most probably be linked to your /etc/hosts configuration. Let me know if you are still stuck with this , would be happy to help.
