What is OhMyRunPod?

OhMyRunPod is a Python package that solves one of the most common Runpod user challenges: easily transferring files to and from your Pod. While OhMyRunPod includes various features, the SFTP setup functionality is the one we want to highlight to help get you started with file transfer software such as FileZilla or similar tools.
Check the repository for additional features, updates, and documentation: github.com/kodxana/OhMyRunPod-python

Key features

Easy File Transfer

Simplified file transfer between your local machine and Runpod instances using SFTP or Croc

Automatic SSH Setup

Automatically configures SSH access with secure key generation and password management

Requirements

Before getting started with OhMyRunPod, make sure you have:
  • An active Runpod account with a running Pod.
  • Python 3.6 or higher installed on your local machine.
  • Port 22 exposed in your Pod’s TCP ports configuration (for SFTP transfers).

Installation

Install OhMyRunPod using pip:
pip install OhMyRunPod

Quick start: file transfer

The most common use case for OhMyRunPod is transferring files between your local machine and Runpod instances.
1

Ensure Port 22 is Exposed

Before starting, make sure port 22 is exposed in your Pod. This is required for SFTP transfers.To expose port 22:
  1. Go to your Pod in the Runpod console
  2. Click Edit Pod
  3. Under the TCP Ports section, add port 22
  4. Save the changes
Data loss warning: Changing TCP ports will restart your pod and erase all data outside of /workspace. Ensure all important files are in /workspace (the default persistent directory) before making port changes.
2

Run the file transfer command

Execute the file transfer command:
OhMyRunpod --file-transfer
3

Choose a transfer method

You’ll be presented with transfer options:
File transfer selection menu showing Croc and SFTP options
  • Croc: Easy peer-to-peer file transfer (recommended for quick transfers)
  • SFTP: Traditional file transfer via SSH/SFTP clients (recommended for persistent connections)
Use arrow keys to navigate and Enter to select.
4

SFTP setup complete

If you choose SFTP, OhMyRunpod will automatically:
  • Install and configure SSH server
  • Set up SSH keys
  • Generate a secure password
  • Create connection scripts for your operating system
SFTP setup confirmation showing connection details and instructions
The tool provides:
  • Complete connection information (server address, port, username, password)
  • Platform-specific connection instructions for FileZilla, WinSCP, Command Line, and VS Code
  • Password saved to /workspace/root_password.txt for reference

What can you do after setup?

Once SFTP is configured, you can:
  • Upload datasets: Transfer training data directly to /workspace/
  • Download models: Pull trained checkpoints back to your local machine
  • Sync code: Use VS Code Remote-SSH for live editing
  • Backup files: Regular backups of important work
  • Use any SFTP client: FileZilla, WinSCP, or command line tools

Troubleshooting

Tips

  • The password is automatically saved to /workspace/root_password.txt for your reference.
  • For large file transfers, use a dedicated SFTP client like FileZilla or WinSCP instead of the command line.

More community solutions

Have a tool that solves common Runpod problems? Community contributions are welcome! Share your solutions in the Runpod Discord community.