Requirements:
- Putty
-
Nagivate to C:\Windows\System32\drivers\etc
-
Open the
host
file by right clicking and editing with either a text editor or notepad. -
Add these lines to the
host
file:
127.0.0.1 localhost
127.0.0.1 klocalhost
-
Open Putty. Here you will need to create a session. Under
Host Name (or IP address)
supply your [username]@[IP of VM] with Port 22. -
On the left-hand navigation bar, expand
SSH
and click onAuth
. Supply your SSH key you used to create the VM. -
Open up
Tunnels
belowSSH
and add:Source Port: 80 Destination: klocalhost:80
Source Port: 8080 Destination: localhost:80
-
Save your session as you may need/want to reuse it.
-
After saving the session, you can now
load
it andopen
which will connect you to the VM.