Connecting
Learn/L11 · VPS and SSH

What is SSH?

SSH is a secure remote-control tunnel from your computer into a server.

Difficulty 3/5

Mental model

Your MacSSH tunnelVPSFiles / logs / services

Plain English

You type `ssh user@server-ip`. SSH opens an encrypted tunnel. You get a terminal on the server — every command you type runs there. Used for editing config, reading logs, restarting services.

Analogy

SSH is a private elevator with a keycard reader. Only people with the right key get in. Inside the elevator, no one can listen.

Agentify CRM

ssh into the worker box to tail logs when a webhook is failing.

HógaPy real estate

ssh into the search server to restart the meilisearch process.

Go deeper

Encrypted remote terminal into a server.

Common mistakes

  • Leaving password auth enabled on a public server.
  • Running 'rm -rf' as root without thinking.
  • Editing config without making a backup first.

AI-agent trap

Agents will paste destructive commands confidently. Read every command before pressing Enter on a server.
Quick check
Which is safer SSH login?

Summary

Authentication is either password (weaker) or key pair (strong). Your public key sits on the server; your private key stays on your laptop. The handshake proves identity without sending the secret.

Confidence: