Can't get into Virtual machine with putty

by sassriverrat   Last Updated October 20, 2019 02:01 AM - source

There are a lot of threads on this...I've been reading them.

Here's what I've got, maybe someone can help. I'm trying to build an OpenWRT image and struggling. I've got a virtualbox machine running alpine. User Root (obviously) and a regular user, M00, created.

Virtual box network settings: Network: NAT Port Forwarding: Name SSH, Protocol TCP, HostPort 2022, Guest Port 22

No problem running ifconfig on virtual machine and getting

run ipconfig on laptop and get 192. etc address (no virtual box).

using putty, try to go in as host: Port 22, Port 2022, host [email protected] etc etc to no avail.

If I do anything with port 22 I get a connection refused message. If I do anything with 2022, I get a black cmd screen with the ability to do typing, nothing. Ideas?

Answers 1

Check the NAT address setting for Virtual Box. is the loopback address and that will not help you. You need a (say) 192.168.x.y address where x is a different subnet to the host 192.168.a.b (unless you wish to change to Bridged networking.

October 20, 2019 03:14 AM

Related Questions

Unable to get MiniEdit working using SSH

Updated May 23, 2019 04:01 AM

cannot ssh into virtual box Ubuntu vm using putty

Updated September 22, 2015 15:00 PM

ssh into vm running ubuntu server from putty

Updated December 17, 2018 14:01 PM

Accessing Linux Box from different Windows Host?

Updated May 10, 2018 16:01 PM