ssh -i ~/.ssh/id_ed25519 user@server-ip

Category: Self-Hosting

ssh -i ~/.ssh/id_ed25519 user@server-ip

Connect to a server using a specific private key file

Connects to a server using a specific private key file. Use this when you have multiple SSH keys for different servers.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.