
- #How to ssh from mac mojave to different port how to
- #How to ssh from mac mojave to different port install
Use Port Forwarding for the Test VPS Networkingīy default port 22 is used for SSH, see a list of TCP and UDP port numbers in Wikipedia.
#How to ssh from mac mojave to different port install
Then on the local VM install the same OS as the one running on the live VPS. This article uses VirtualBox to configure a VM as a test VPS.Ī VPS running in the cloud can be replicated on a local machine using a VM. VirtualBox is a free application that can run VMs. Using a VM is a good way to test a system without impacting a local machine. The test environment should be the same as the live systems so that changes have the same affect when deployed. However, the chance of errors occurring is reduced. Of course there is no guarantee that the changes to the live system will not cause problems. When happy with the changes deploy to the live system with confidence.

Use the test environment to try out new configurations and software. Replicate the live system in a test environment.
#How to ssh from mac mojave to different port how to
This tutorial and guide shows how to set up a VirtualBox VM and access it via the SSH client PuTTY, replicating production world VPS access.

This test configuration should accurately reflect the live VPS, reducing mistakes when moving from test to production. A deployed VPS can usually be accessed using SSH, therefore using SSH into VPS running on a VM is good practice for a live situation. This VM VPS can then be used to test configuration and software changes before deployment to a live VPS. This article discusses setting up a virtual machine (VM) as a virtual private server (VPS) and accessing it using secure shell (SSH).
