How to Connect to your App using SSH
You can connect to your services on Miget using SSH.
How to connect to a service
Prerequisites
Before we start, make sure you have the following:
-
Miget Account – You should already be registered on Miget.
-
SSH Key – If this is your first time using SSH, generate your own key.
-
Added SSH Key to your Miget Account - Add your SSH key on Account Settings -> SSH Keys. Click on "Add New SSH Key" button.
Connect
Note
If your App has multiple instances, you will connect to one instance at random.
Find the App you want to connect in the App dashboard. Enter the App. Next, click the Shell tab, to get to the Terminal window.
At the top, you will find SSH Command. Copy the SSH command to your clipboard.
In a terminal, paste the command you copied earlier.
$ ssh <YOUR-APP-NAME>@ssh.<YOUR-APP-REGION>.migetapp.com
You may see a warning like this:
The authenticity of host 'migetapp.com (IP_ADDRESS)' can't be established.
ED25519 key fingerprint is (SSH_KEY_FINGERPRINT)
Are you sure you want to continue connecting (yes/no)?
Verify that the fingerprint in the message you see matches Miget’s public key fingerprint. If it does, then type yes.
Miget's public SSH key fingerprints
Public key fingerprints can be used to validate a connection to a remote server.
Miget's public SSH key fingerprints are as follows:
| Region | Fingerprint |
|---|---|
| eu-east-1 | SHA256:ysgpM1d+oqTQFmV1St+QpCRQZNSwd2CdAAFHbNBkUVY |
Miget's public keys:
# MIGET SSH PUBLIC KEYS
# ---------------------
# eu-east-1
ssh.eu-east-1.migetapp.com ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDZHK//VsfZ4t1wjOSvKWNqeyyr7xGdjMAClyOUIh2mHqBhkJah+20WUDNTxB8ki5qjsbi2jk84ZEewdy6tUfvItODuqw+r7Re208wQIQWQLhqIyZO5ZvZITpSOEBC1ye48tOtAcjzIpP7/d2zCbGFoWp6URLGOR4Y5h7DnMP8KUahSI8pvvGYN+XPmu9T6d1XUc89M7quuVWCSVVqpApeKeUvfy2svAzz12Ht/vVx1EixS6X4/1qxQd1YK2SMyl2RyLq9vlUrxgXGVZ6WAwRp/fGg69i7Losb+GEPkCzfXK3WqLDlxMAbf/WbbAdX3bmHyLBAszMV1Bvu8/zCWO2A1
Note
You can add the full set of Miget's public keys to your $SSH_DIR/known_hosts file using the above entries.
Limitations
- SSH is not supported for free tier services, addon services and cronjobs.
