Get Started

Connect via SSH

How To Configure Custom Connection Options for your SSH Client.

PREREQUISITES

Generate a new SSH key
Follow this guide to generate a new SSH key if you don't already have one.
Add your public SSH key
Add your public SSH key in the settings.

The Location of the SSH Client Config File

The client-side configuration file is located at ~/.ssh/config – the ~ is a universal shortcut to your home directory. Often, this file is not created by default, so you may need to create it yourself. The touch command will create it if it does not exist (and update the last modified timestamp if it does).

bash
touch ~/.ssh/config

Configuration File Structure

bash
1Host $MACHINE_NAME
2  HostName $MACHINE_NAME
3
4Host $MACHINE_NAME
5  HostName $MACHINE_IP
6  User ubuntu
7  IdentityFile ~/.ssh/ed25519/id_25519
8  IdentitiesOnly yes
9  ForwardAgent yes
10  StrictHostKeyChecking no
11  UserKnownHostsFile=/dev/null
12  GlobalKnownHostsFile=/dev/null
13  Port 22
bash
ssh $MACHINE_NAME