🚀   Portable does more than just ELT. Explore Our AI Orchestration CapabilitiesÂ

When using an SSH tunnel to connect to your database, Portable first authenticates with your bastion host (jump server). If this step fails, you'll see an "SSH Tunnel Auth" error in the diagnostic checks.
Portable can reach your bastion host, but the SSH credentials you provided (username and password or private key) are being rejected.
The SSH username is case-sensitive and must match exactly what's configured on the server.
Common mistakes:
Root instead of rootSSH private keys must be in PEM format. If your key starts with -----BEGIN OPENSSH PRIVATE KEY-----, it may need to be converted.
To convert from OpenSSH format to PEM:
ssh-keygen -p -m PEM -f your_key
Valid PEM format looks like:
-----BEGIN RSA PRIVATE KEY-----
MIIEpAIBAAKCAQEA...
-----END RSA PRIVATE KEY-----
You may have multiple SSH keys and are using the wrong one. Verify you're using the private key that corresponds to the public key installed on the server.
Your public key must be added to the ~/.ssh/authorized_keys file on the bastion host for the correct user.
To add your public key:
# On the bastion host
echo "ssh-rsa AAAA...your-public-key... user@host" >> ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keys
If you're using password authentication, the SSH server may have it disabled (common security practice).
Check on server:
grep PasswordAuthentication /etc/ssh/sshd_config
If it shows PasswordAuthentication no, you must use key-based authentication.
If your private key is encrypted with a passphrase, Portable cannot use it directly. You'll need to provide an unencrypted key or remove the passphrase.
To remove passphrase from a key:
ssh-keygen -p -f your_key
# Enter old passphrase, then press Enter twice for no new passphrase
# With key-based auth
ssh -i /path/to/your/private_key username@bastion-host
# With password auth
ssh username@bastion-host
# Verbose mode for debugging
ssh -vvv -i /path/to/your/private_key username@bastion-host
If this works locally, the credentials are correct. The issue may be with how they're entered in Portable.
head -1 your_private_key
-----BEGIN RSA PRIVATE KEY----- → PEM format (good)-----BEGIN OPENSSH PRIVATE KEY----- → OpenSSH format (needs conversion)-----BEGIN ENCRYPTED PRIVATE KEY----- → Encrypted (needs passphrase removed)# On the bastion host
cat ~/.ssh/authorized_keys
Verify your public key is listed and the file has correct permissions:
ls -la ~/.ssh/
# Should show:
# drwx------ .ssh
# -rw------- authorized_keys
On the bastion host:
sudo tail -f /var/log/auth.log # Debian/Ubuntu
sudo tail -f /var/log/secure # CentOS/RHEL
Then attempt a connection to see the specific error.
ec2-user (Amazon Linux), ubuntu (Ubuntu), admin (Debian)Before contacting support, verify:
-----BEGIN RSA PRIVATE KEY-----)~/.ssh/authorized_keys on the bastionchmod 600 for key and authorized_keys)If you can SSH manually but Portable can't authenticate, contact support with:
/var/log/auth.log on the bastion host