Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

Can't ssh into localhost on port 1080

avatar
New Member

I just download HDP 3.0.1.  I can log into Ambari as maria_dev, but I can't use putty (or Windows 10 ssh) to log in from a terminal (using Virtual Box, here)

 

I know the root password is hadoop, but when I try to connect, I get the error message "remote side unexpectedly closed network connection."  I tried:

ssh maria_dev@localhost -p 4200

 

I also tried

ssh root@localhost -p 4200 -pwd hadoop

 

...same error.  I'm never even given the chance to log in as either user, maria_dev nor root, so I can't even enter the password hadoop to change the root password.  Didn't have this problem in HDP 2.5

1 ACCEPTED SOLUTION

avatar
Master Mentor

@philpo 

While Doing SSH can you try changing the port from 4200 to 2222

Example:

 

# ssh  [email protected]  -p 2222
(OR)
# ssh  root@localhost  -p 2222

 

 

OR try opening the WebTerminal on port 4200 in your Web Browser (4200 is not SSH port it is web terminal port used by service "shellinaboxd" )

 http://127.0.0.1:4200

View solution in original post

2 REPLIES 2

avatar
Master Mentor

@philpo 

While Doing SSH can you try changing the port from 4200 to 2222

Example:

 

# ssh  [email protected]  -p 2222
(OR)
# ssh  root@localhost  -p 2222

 

 

OR try opening the WebTerminal on port 4200 in your Web Browser (4200 is not SSH port it is web terminal port used by service "shellinaboxd" )

 http://127.0.0.1:4200

avatar
New Member

Thanks, jsensharma!