To use the SSH client on MacOS, you need:

Open Terminal
You can do this through Spotlight by pressing Cmd + Space and typing Terminal in the search bar

file

In Terminal, type a command of the form: ssh [email protected]

file

In place of username you need to specify the account name, and in place of ip.address - the IP address or hostname of your server.

Press the Enter button.
if this is the first time you have connected to this device, a message will warn you that the server key is not cached in the registry. Enter "Yes" and press Enter.

Enter the account password.
** For security reasons, the password you enter is not shown as characters on the screen

To reset the SSH connection, simply type exit or close the Terminal completely.