Connecting to Linux Instances from Mac

This guide assumes you associated your SSH Key Pair with the instance when it was created, and that you are connected to the Anvil VPN.

Access to Linux instances is via standard SSH, however SSH keys are used as opposed to entering a username and password.  

Start the built-in Terminal application, located in the Utilities folder under Applications.

Login into the web dashboard atn From the left-hand side menu, choose Instances.

This will show a table with the running instances and a few details about them.  Take note of the IP address entry; this is the address that will be used to connect.

In this example, the private key file is assumed to be on the desktop, and named anvil_key.  Depending on which Linux OS you’re using in your instance, the username to use will be different.  See the Available Images page for a table with the username to use for each OS.   In the Terminal application, run the command:

ssh -i ~/Desktop/anvil_key centos@<ip address> 

substituting the IP address of your instance.  For the example here, it would look like:

The first time you connect, you will get a warning; type yes and hit Enter to continue connecting.  Subsequent connections will not show this warning.

You will now be logged into your instance and can use it.