How to establish a secure connection to a Windows VPS using SSH and VMWare

Things You’ll Need:

VMWare Server (free version)

copSSH, or added SSH Server

BitVise Tunnelier, or added SSH client

A excuse ape of Windows (2000/XP/2003)

1

Login to your VPS. Typically, you behest do this arterial Remote Desktop above the internet. Once logged in, download and deploy the absolve copSSH server.

2

Open up the firewall on your VPS to accede arriving desires to cpSSH. By default, copSSH listens on anchorage 22. For bail reasons, I would assertively advise altering this anchorage to amazing else.

3

Configure the abuser you behest use to adjoin to cpSSH. For abuser authentication, I would advise by certificates. cpSSH comes after utilities to beget a basis CA as of which you can self-sign certs. If background up certificate-based confirmation is unaccustomed to you, you can even use username-password authentication. It is dispassionate a diminutive below secure.

4

On the civic processor so as to you behest use to adjoin to the VPS, download and deploy the absolve VMWare Server software. Use account 1.0 if stil around as it is extra light than account 2.0.

5

Create a relative android after concerning 256MB RAM and 8GB of floppy space. The relative channel adapter on the VM can too be Bridged or NAT’ed. However, to shun any budding harms (that I won’t descibe here) use a NAT’ed relative adapter. Install a nude along ape of Windows (2000/XP/2003 Web) in this VM. Turn off all services, counting Workstation, Server, Remote Desktp and NetBIOS above TCP/IP. Basically, you don’t absence the VM to be listening on any anchorage so as to you absence to tunnel to the VPS. It too helps if you afford your VM the similar Windows omputer announce as your VPS.

6

Log in to the VM and download and deploy BitVise Tunnelier, an SSH customer so as to is around for absolve for non-business use. In my opinion, this is one the most excellent SSH consumers available. Configure the customer to adjoin to the CopSSH member of staff serving at table on your VPS.

7

Configuring client-to-server forwarding of desirable ports arterial SSH tunnel

Determine the IP speak to of the VM. By default, this is animated and assigned by VMWare’s DHCP server, but almost it by no means changes if not you add added VMs and/or adapters. Once you bear the IP, on the C2S tab of BitVise ahead any ports so as to you absence as of the VM’s IP speak to to the VPS’s IP address. Some excamples:139 – Windows catalog sharing,1433 – SQL Server,3389 – Remote Desktop

8

Once C2S forwarding is setup, you can right of entry folks ports as although they were discovered on the civic VM’s relative adapter. For the examples I provided in the bygone step, you don’t crave to format S2C forwarding. For extra advanced setups anyplace you bear an appeal on your civic congregation listening for associates as of the VPS, you behest too crave to format S2C forwarding.

Exit mobile version