Support Questions

Find answers, ask questions, and share your expertise

SSH Connection Refused - HDP 2.5 at VirtualBox

avatar
Expert Contributor

Hello,

I imported HDP 2.5 to the latest VirtualBox.

It installed fine.

However, when I try to SSH, it gives me "Connection Refused".

I have no idea how to proceed.

I look forward to your suggestions.

Thanks,

Marcia

1 ACCEPTED SOLUTION

avatar
Expert Contributor

Solution:

Change Network options in VirtualBox. Allow for NAT and Port Forwarding.

View solution in original post

5 REPLIES 5

avatar
Expert Contributor

I have tried these. Still not working...

avatar
Expert Contributor

Solution:

Change Network options in VirtualBox. Allow for NAT and Port Forwarding.

avatar
New Member

best answer to this is to change the root password in splash screen once you enter Alt+F5 and then use passwd to change the new password for root if a system doesn't ask for new password.

And use the new password to login via putty or any client.

avatar
Visitor

The SSH connection error that you are facing while importing HDP 2.5 to the virtual box, check if the SSH service is running inside the VM with the service sshd status. Starting the service usually fixes it. There are many different causes for it, such as:-

1) SSH Service not running

2) Firewall blocking SSH port

3) Incorrect SSH Configuration

4) Network issues

5) Server Overload 

6) SSH Key Authentication issues, etc

You need to understand all the causes thoroughly and also the different ways to fix the error in detail, so it might help solve it. SSH is a method of securely getting access to the remote device or server over an insecure network, usually over the Internet. Therefore, SSH is very important for conveying sensitive information, especially where security is of the utmost importance.