Connecting through SSH

To establish an SSH connection with a container deployed on Latitude.sh Launchpad, determine the TCP port your container image configures for SSH, and add it to the TCP port field during deployment.

When the container is fully deployed, click on it and copy the public IP address provided. This IP allows you to access the container via the chosen port. For SSH to work, ensure the container image has been pre-configured to allow SSH access through the specific port selected during deployment.

:information-source: In line with Docker's principle of container immutability, no modifications are made to the original image. This ensures that the integrity and consistency of the container are maintained throughout its lifecycle.

Troubleshooting

Here are some uncommon but known issues you might face when trying to access your container through SSH.

  • Too many authentication failures: This error is caused by multiple keys being offered in succession but not accepted by the server.
    • If your container supports password authentication: ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no <user>@<ip> -p <port>.
    • If your container expects a key: ssh -i /path/to/your/private/key -p 3442 <user>@<ip> -p <port>