in

Using SSH on MacOS is easy, thanks to this built-in connection manager

Think_About_Life/iStock / Getty Images Plus

Follow ZDNET: Add us as a preferred source

This is what an SSH config file looks like.

Jack Wallen/ZDNET

What the above two entries do is assign the keyword “hive” and “InvoicePlane” to the remote IP addresses. Along with the global configuration option at the top, all connections set the username to jack. With the config file set up, I could then use SSH like so:

ssh hive

The above would automatically apply the username jack to the command, and the IP address will be set to 192.168.1.176.

As I said earlier, it’s very simple.

However, you might not be terribly fond of the Command Line Interface (CLI), and would rather use a GUI for everything. Some look at the CLI as being too complex for them to use, while others simply don’t want to type that much. Or maybe you don’t want to have to remember all of those remote usernames and IP addresses.

Also: Do you need antivirus on Linux?

Fortunately, the MacOS Terminal app includes an SSH configuration manager that is free and easy to use. 

Once you start working with the terminal SSH configuration manager, you’ll wonder how you managed before.

Let me show you how to use this feature.

Opening the SSH connection manager

The SSH manager comes baked into the MacOS terminal app by default. Here’s how to open it.

It is important that you use the official, built-in MacOS terminal app, as other CLI tools may not contain the feature. Open the MacOS launchpad, search for “terminal,” and click on the entry when it appears.

Show more

Once the terminal app is open, click Shell > “New remote connection,” which will bring up the small window.

Show more

Get the biggest stories in tech every Friday with ZDNET’s Week in Review newsletter.

With the new server window open, make sure to select Secure Shell (SSH) as the service. 

Next, click +, under the Server section, to reveal the connection manager.

Show more

When the new server pop-up appears, type the address in the form of USERNAME@SERVER (where USERNAME is your remote username and SERVER is the IP address or domain of the hosting server.

Show more

You can now edit Microsoft Copilot’s memories about you – here’s how

This solid midrange HP laptop is now nearly 50% off at Walmart