Introduction
This article will cover accessing your AutoPilot deployment with SSH.
Whitelisting
First, you will need to whitelist your IP address for connections to AutoPilot.
In the AutoPilot interface, select your deployment.
Select the Security tab.
On this page, you can enter an IP address to whitelist along with an optional comment.
You can also click the rightmost ADD button, which will automatically add the IP address you are connecting from.
You then need to add your SSH key in the section below.
Paste your public SSH key into the box and optionally add an expiration date or comment. Then, select ADD KEY. If you do not have an SSH key, you can use the ssh-keygen command in your operating system's terminal to generate one.
Connecting
Linux, macOS, and modern versions of Windows all include the ssh command. This guide will cover using this to connect, but you can use third-party SSH clients if you prefer.
This will take you to the Overview tab. Look for the Shell Access section.
Click the copy icon on the right to copy the command to your clipboard.
Open your operating system's terminal application and paste the command. You may be prompted to accept the server's host key - type "yes" or "y" to accept.
You should now be connected via SSH.
Comments
0 comments
Article is closed for comments.