Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.02 KB

File metadata and controls

33 lines (23 loc) · 1.02 KB

Connect to Cloud VM from your Local Windows Machine using Port Forwarding Technique.

Requirements:

  • Putty

Steps

  1. Nagivate to C:\Windows\System32\drivers\etc

  2. Open the host file by right clicking and editing with either a text editor or notepad. Step2

  3. Add these lines to the host file:

127.0.0.1	localhost
127.0.0.1 klocalhost

Step3

  1. 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. Step4

  2. On the left-hand navigation bar, expand SSH and click on Auth. Supply your SSH key you used to create the VM. Step5

  3. Open up Tunnels below SSH and add: Source Port: 80 Destination: klocalhost:80 Source Port: 8080 Destination: localhost:80 Step6

  4. Save your session as you may need/want to reuse it.

  5. After saving the session, you can now load it and open which will connect you to the VM.