Overview
Connect to your doploy server via SSH for advanced server management, debugging, and direct access to your Odoo containers. Note: SSH access is available for production and staging servers. Development builds run on shared infrastructure and don’t support direct SSH access.Prerequisites
- A doploy server (doploy-managed or BYOS)
- SSH client (Termius, Terminal, or PuTTY)
- Your SSH key pair (public and private keys)
Step 1: Generate SSH Key Pair
Using Termius (Recommended)
- Open Termius
- Go to Keychain → Keys
- Click the + button to create a new key
- Select Generate new key
- Enter a name for your key (e.g., “doploy-server”)
- Choose key type: RSA (recommended)
- Click Generate
- Select the key and copy the Public key value
Using Terminal (Mac/Linux)
ssh-rsa).
Using PuTTYgen (Windows)
- Download and open PuTTYgen
- Click Generate
- Move your mouse randomly to generate entropy
- Add a key comment (e.g., “doploy-server”)
- Click Save private key (save as
.ppkfile) - Copy the public key from the text box at the top
Step 2: Add SSH Key to doploy Server
Access Servers Page
From your project dashboard, navigate to the Servers page.Add Your Public Key
- Find the server you want to access
- Click the Add SSH Key button
- Paste your public key into the text area
- Click Add SSH Key
~/.ssh/authorized_keys file.
Step 3: Connect to Your Server
Get Server Connection Details
On the Servers page, note your server’s:- IP Address (shown on the server card)
- Username (default:
ubuntufor doploy servers, or your custom username for BYOS) - Port (default:
22)
Using Termius
- Open Termius
- Click + → New Host
- Enter connection details:
- Alias: A friendly name (e.g., “doploy Production”)
- Hostname: Your server’s IP address
- Port: 22
- Username:
ubuntu(or your custom username)
- Under Keys, select the SSH key you created earlier
- Click Save
- Double-click the host to connect
Using Terminal (Mac/Linux)
Using PuTTY (Windows)
- Open PuTTY
- Enter Host Name: Your server’s IP address
- Port: 22
- Connection type: SSH
- In the left sidebar, go to Connection → SSH → Auth
- Click Browse and select your private key (
.ppkfile) - Return to Session, enter a name under Saved Sessions, and click Save
- Click Open to connect
Common SSH Tasks
Once connected, you can perform various server management tasks:View Running Containers
Access Odoo Container Shell
Check Server Resources
Security Best Practices
Protect your private key - Never share your private key. Use strong passphrases - When generating keys, use a strong passphrase to encrypt your private key. Limit key access - Set proper permissions on your private key file:Troubleshooting
Permission Denied (publickey)
- Verify you added the correct public key to the server
- Ensure you’re using the matching private key to connect
- Check that your private key has correct permissions (
chmod 600)
Connection Timeout
- Verify the server IP address is correct
- Check that the server is running (status should be “Ready”)
- Ensure your firewall allows outbound SSH connections on port 22
Wrong Username
- For doploy-managed servers, use
root - For BYOS servers, use the username you specified during server setup
Need Help?
If you’re having trouble connecting via SSH, contact doploy support with:- Your server IP address
- The error message you’re seeing
- The SSH client you’re using

