Home / Companies / RunPod / Blog / Post Details
Content Deep Dive

How to Achieve True SSH in Runpod

Blog post from RunPod

Post Details
Company
Date Published
Author
Zhen Lu
Word Count
494
Language
English
Hacker News Points
-
Summary

Runpod provides an accessible way to obtain terminal access for various use cases, although it doesn't run a true SSH daemon by default. To enable functionalities such as SCP or IDE connection, users can follow specific steps to configure a pod to run an SSH daemon effectively. The process involves selecting a compatible pod, configuring it to install and set up OpenSSH, and obtaining the correct SSH connection command. Users can deploy a Secure Cloud instance for easy access or browse through the Community Cloud for deployment options. By selecting the appropriate GPU specifications and templates, users can expose TCP port 22 and configure the container start command to include their public key. After these configurations, users can choose between spot or on-demand instances, and the pod initialization process, which takes between 20 seconds to 5 minutes, can be monitored through log outputs. Once initialized, users can establish an SSH tunnel via the provided connection options, ensuring they adjust the command if their private key is stored elsewhere.