Nonetheless, the SSH protocol replaces old insecure protocols with better security.

It primarily serves as a means of remotely accessing a computer from another gear.

This guide will show you how to enable and use SSH for secure connections on your Mac.

Gboard’s editing mode on an Android phone.

What Is SSH?

Administrators usually use it for connecting to remote devices securely.

SSH relies on encrypted keys known as SSH keys that work as access credential and follows an encryption protocol.

Person using an iphone at a table with a glass behind it.

Also, if you’ve got a GitHub account, you canuse SSH for passwordless authentication on GitHub.

It is also available on Unix, Linux, and macOS servers by default.

How to Enable an SSH Server on Your Mac

OpenSystem Settingson your Mac.

Terminal on Mac screen

Navigate toGeneral > Sharing.

Turn on the toggle next toRemote Loginand click theInfo (i)button next to it.

you’ve got the option to find the login command of the SSH server underRemote Login.

General menu in System Settings on macOS

For instance, in our case, it’s “ssh sajidshaik@192.168.0.44.”

Toggle onAllow full disk access for remote user.

you might also change the prefs for who can access your SSH server.

Enabling Remote Login in Sharing from System Settings on Mac

Once done, an SSH server will be ready on your Mac for you to use.

So, remember to deactivate it by simply toggling offRemote Loginby following the same steps.

SSH is an excellent way to access one gear from another one without sacrificing security.

Turning on Allow full disk access for remote user option in Remote Login settings

If needed, you might also SSH into a VirtualBox Ubuntu Server.

Quick Connect in Termius on Android

Entering Mac password when prompted in Termius