News icon

We raised a Series A! Read a post from our CEO, Zhen Lu: 1M devs and the cloud we're building next.

How to Configure Basic Terminal Access on Runpod

A quick-start guide for accessing a custom Runpod container via basic terminal access, even if the container lacks SSH or exposed ports. This post walks.

How to Configure Basic Terminal Access on Runpod

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 in a terminal window as follows:

Save it wherever you want, but remember the path! If this is your first/only SSH key, feel free to use the default path by pressing Enter without entering a custom path.

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

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

Animated walkthrough of the Runpod console listing RTX 3080 and RTX 3070 GPU instances

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

Runpod pod card for a running TensorFlow pod with the Connect button and connection options tooltip

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 window and run the command that you copied.

Terminal showing SSH login to a Runpod pod with a TensorFlow ASCII art banner and root shell prompt

Happy Hacking!

Author profile: Zhen Lu

Related articles

View All
Cold Starts Were Never the Real Problem

Cold Starts Were Never the Real Problem

Flash deploys Python functions as serverless GPU endpoints in under 30 seconds. FlashBoot cuts serverless GPU inference cold starts to under 200ms. Here's how both work.

All
Inside the Runpod Flash Hack Day

Inside the Runpod Flash Hack Day

What eleven teams built at the Runpod Flash Hack Day, and the three demos that took home the top prizes.

All

Build what’s next.

Build, train, and scale AI workloads on Runpod with cloud GPUs, Serverless, and Clusters.

Star field background