SSH

SSH (Secure Shell) is a protocol that lets you securely connect to and control remote computers over the internet — like a private, encrypted tunnel between your machine and a server. For vibe coders, SSH is how you access VPS instances, deploy apps, and manage servers running AI tools.

Example

You spin up a $5 cloud server to host your AI assistant. You use SSH to connect from your laptop — `ssh root@your-server-ip` — and suddenly your terminal is controlling a machine thousands of miles away, ready for you to install and configure your app.

SSH is the backbone of remote server work. Every time you deploy an app, manage a cloud server, or set up an AI agent on a VPS — you're likely using SSH.

What SSH Actually Does

SSH creates a secure, encrypted connection between two computers. Think of it as a private phone line — nobody can eavesdrop on what you're sending back and forth.

  • Encrypted — All data is scrambled in transit
  • Authenticated — Proves you are who you claim to be
  • Remote control — Run commands on a distant server from your terminal

Common SSH Uses in Vibe Coding

Use CaseWhat It Looks Like
Connect to a serverssh user@server-ip
Deploy your appSSH in, pull code, restart services
Set up AI agentsInstall and configure tools like OpenClaw remotely
Transfer filesscp file.txt user@server:/path/
Port forwardingAccess remote services on your local machine

SSH vs SSH Key

Don't confuse the two:

  • SSH — The protocol/tool for secure remote connections
  • SSH Key — A cryptographic key pair used to authenticate without passwords

You can use SSH with a password, but SSH keys are more secure and convenient — especially when you're pushing code or deploying frequently.

Getting Started

  1. Open your terminal — SSH is built into macOS and Linux
  2. Connectssh username@server-ip-address
  3. Enter password or use SSH key — Key-based is recommended
  4. You're in — Your terminal now controls the remote machine
  5. Exit — Type exit to disconnect