Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Can't ssh into localhost on port 1080

Solved Go to solution

Can't ssh into localhost on port 1080

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

Accepted Solutions
Highlighted

Re: Can't ssh into localhost on port 1080

Super 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

2 REPLIES 2
Highlighted

Re: Can't ssh into localhost on port 1080

Super 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

Re: Can't ssh into localhost on port 1080

New Contributor

Thanks, jsensharma!

Don't have an account?
Coming from Hortonworks? Activate your account here