Linux Server setup

SSH connection under macOS

With macOS, an SSH client is already integrated, so we don't need to install any additional tools and can connect right away via a terminal.

SSH connection

First, let's open a terminal window. You can find the Terminal app by clicking on the Launchpad in the Dock and typing Terminal in the search box.

Alternatively, you can find the Terminal App via the Finder or under Applications/Utilities.

With the ssh command we establish a connection. As parameters we specify the username followed by a @ and the IP address of the server.

__$ ssh tom@

Without explicit port specification, the default SSH port 22 is used.

A different port can be specified with the -p parameter. A connection via port 23 would then look like this: ssh tom@ -p 23.

Since our server is freshly set up, we connect without parameters by default.

At the very first connection we are asked if the new connection is trusted and the address should be added to the list of known servers. We confirm this by entering yes. This is followed by a password query.

There should be a welcome message from the server. If bash displays the logged in user (tom@srv1:~$), then that is a sure sign of a successful login.

SSH via terminal
accept unknown server
logged in (welcome message)