How to Configure Basic Terminal Access on RunPod

BY ZHEN LU - MARCH 16, 2022
The fastest way to get access to a custom pod is to use our basic terminal access feature. This works with any custom container that you want to run on RunPod, whether or not it has a built in SSH daemon or exposed ports. Do be aware that there are limitations to this method of access, including lack of SCP support, which may impede your ability to do stuff. This access type is mostly for if you just want to run some quick terminal commands. If this sounds like your use case, read on!

Note that this gives you a bash shell, but it is not true SSH. If you need true SSH, see this blog post.

I'm not going to bore you with a long intro in this one. Here are the goods.

1. Create a key pair (open search on your computer and type term to get access to a terminal)

ssh-keygen -t ed25519

Save it wherever you want and use a strong passphrase

2. Get your public key (you can use the following command if you used the defaults)

cat ~/.ssh/

3. Copy your SSH key to the server. For RunPod, you can find the menu in your settings in the top right corner.

4. Find your server address. You can find it in the "Connect" menu under your my pods dashboard.

5. Copy the second SSH command (SSH command with private key file) and make sure the path points to the private key you generated in step 1.

6. Open a terminal and run the command that you copied.

Happy Hacking!

Zhen is one of the co-founders of RunPod. He holds a PhD in Computational Chemistry and has lots of experience teaching, coding, and talking to people.

Want to join our growing community?
Chat with us on our Discord Server.
Prefer email? Contact us at