Created on 
    
	
		
		
		01-07-2020
	
		
		04:20 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 - last edited on 
    
	
		
		
		01-07-2020
	
		
		07:19 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 by 
				
		
		
			ask_bill_brooks
		
		
		
		
		
		
		
		
	
			
		
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
Created on 01-07-2020 04:36 PM - edited 01-07-2020 04:38 PM
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" )
Created on 01-07-2020 04:36 PM - edited 01-07-2020 04:38 PM
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" )
Created 01-08-2020 05:09 AM
Thanks, jsensharma!