Support Questions

Find answers, ask questions, and share your expertise

Can't ssh into localhost on port 1080

avatar
New Contributor

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  root@127.0.0.1  -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  root@127.0.0.1  -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 Contributor

Thanks, jsensharma!