Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

Connection to sandbox.hortonworks.com closed. Session closed.

New Contributor

43585-untitled.png

I'm trying to change my password. But it's give me error that Connection to sandbox.hortonworks.com closed. Session closed. Please help me

15 REPLIES 15

@Emre Berk AKIRMAK Heya, hoping you got this issue resolved but just in case: Is this happening before or after you put in a password? The first prompt is asking you to put in the current password, it may or may not (I forget, at this point) close your session if you get the current password wrong.

In case I'm wrong, then it looks like an issue with ShellInABox, the service that is exposing SSH on the browser. If it is kicking you off before you get a chance to put any password in, I can take a closer look.

In the meantime, if you're putting in the current password and it's still kicking you out, try SSH'ing in through a shell (or download "git bash" if you're on Windows). Let me know how it goes 🙂

Contributor
@Edgar Orendain

I have same issue. I get kicked off after putting password.

New Contributor

This thread seems to be old. However, checking , if there is a solution found. I am also running into the same issues.

,

I know this thread is quite old, just checking with others to see if they found a soluttion. I am also running into the same issue.

Contributor

Still Same issue unable to log into virtualbox.

Mentor

@Eon kitex

This is a case usually when one believes he is answering the prompt correctly !!!!! Please read carefully
Example the assumption is the root password is hadoop

sandbox login :root

root@sandbox.hortonworks.com password: hadoop

You are required ..............(root enforced)

Changing your password for root ...NOTE the current

(current) UNIX password : hadoop

In the above prompt if you type something else it will immediate close connect

Contributor

Actually I get logged out after I type new password.

New Contributor

Yes right, thnx

New Contributor

It works! Thanks @Eon kitex

I was trying with Unix root password... because that is what it says.. but it is expecting hadoop as password....

New Contributor

Thanks Shelton for pointing this, now I see where I was making mistake. This resolved my issue.

Mentor

@Eon kitex

Can you used mixed Upper&,Lower case and number in your password, you can later change using the CLI.

Contributor

123HortonWork This is what I set.

Mentor

@Eon kitex

You can as well try this hack as you have completely failed to login.You can also manually edit /etc/shadow: (Create a backup copy. Be sure that you can log even if you mess up, for example from a rescue system.) Search for "root". Typically, the root entry looks similar to

root:$6$XCTgV7BrJPVRwHoP$TJi5H.6C/rCXY6WrUZsj3hxHygJGQ3FUrENBcRNijUTrB.hzbwn116EmQJFiPg0oau0:17457:0:99999:7:::

There, delete the second field (everything between the first and second colon):

root::0:99999:7:::

Save the file, and try logging in as root. It should skip the password prompt. (Like passwd -d, this is a "no password" solution. If you are really looking for a "blank password", that is "ask for a password, but accept if the user just presses Enter", look at the manpage of mkpasswd, and use mkpasswd to create the second field for the /etc/shadow.)

Else download a new sandbox and try it won't cost you a thing so you can proceed with your tutorials

Please let me know

Mentor

@Eon kitex

Any updates?

Contributor

The first one is not possible because I am not able to login into system. May be I need to switch to console which is not possible because Hortonworks VM never loads completely. It is stuck on waiting for something to happen.

New Contributor

@Eon kitex enter hadoop again after "Unix password" , then you will be prompted to enter "New password"

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.