Thunder Compute is designed to eliminate the need for manually SSHing. For most users, you will want to ‘Connect’ to instances with our CLI or VS Code extension.
Under the hood, we wrap SSH setup, key management, and port-forwarding for your convenience. See the Quick-Start guide for a full walkthrough.
Under the hood, we wrap SSH setup, key management, and port-forwarding for your convenience. See the Quick-Start guide for a full walkthrough.
1. How to SSH into a Thunder Compute instance
To manually SSH into your Thunder Compute instance:-
Connect once with the CLI to set up your SSH configuration:
This automatically adds your instance as
tnr-0
in your SSH config and sets up the necessary keys. -
SSH directly using the configured alias:
-
Use with other IDEs: You can also use
tnr-0
with other remote SSH tools like VS Code Remote-SSH, JetBrains Gateway, or any SSH-compatible IDE.
2. Troubleshooting SSH Errors
When you runtnr connect
, the tool SSHs into your instance automatically. If something goes wrong, you might see errors such as:
- Bad permissions – “Try removing permissions for user: \OWNER RIGHTS (S-1-3-4) on file C:\Users<your_username>.ssh\config.”
- Error reading SSH protocol banner (often means the instance is out of memory and the SSH handshake cannot complete).
- Key authentication failed (your SSH key is outdated or misconfigured).
- Invalid config Your local ~/.ssh/config file is malformed. Delete this file and retry
tnr connect
.
A. Restart the Instance
A quick restart clears many transient issues:tnr connect
again.
B. Test a Manual SSH Connection
Get a more detailed error message by bypassingtnr connect
:
C. Fix Common Issues
Out-of-Memory
If you see Error reading SSH protocol banner, the instance may have run out of RAM. Wait a few seconds and retry. For a permanent fix, launch an instance with more resources. Tip: 8-16 vCPUs generally provide enough memory for most ML workloads.Permissions Problems
Corrupted Known-Hosts or Thunder Compute Locks
Known-HostsD. Reinstall the Thunder Compute CLI or VS Code Extension
If the steps above do not resolve the error, reinstalling the tooling often does:- Remove the existing CLI or extension.
- Download the latest installer from Thunder Compute download.
- Re-run
tnr login
followed bytnr connect
.