100% Client-Side β’ 0 B Data Leaves Browser
linux
SSH & SCP Remote Server Commands Cheat Sheet
Essential SSH keys, secure shell logins, remote port tunneling, and scp / rsync secure file transfer command reference.
Key Generation & Remote Login
Generate modern, secure Ed25519 SSH keypairssh-keygen -t ed25519 -C "email@domain.com"
Copy public key to remote server ~/.ssh/authorized_keysssh-copy-id -i ~/.ssh/id_ed25519.pub user@host
Connect to remote server using private key filessh -i ~/.ssh/key.pem user@hostname
Connect to SSH server running on non-standard portssh -p 2222 user@hostname
SCP & Rsync File Transfers
Copy local file to remote server directoryscp file.txt user@host:/remote/path/
Recursively copy directory from remote server to localscp -r user@host:/remote/dir/ ./local/
Fast incremental sync with archive mode, compression, and progress barrsync -avzP ./src/ user@host:/dest/
Local port forwarding: access remote 3000 on local 8080ssh -L 8080:localhost:3000 user@host
Frequently Asked Questions
β’ Why is Ed25519 preferred over RSA for SSH keys?
Ed25519 offers better security with faster signing and smaller 256-bit keys compared to legacy 2048/4096-bit RSA keys.