ssh -i ~/.ssh/id_rsa user@host

Category: SSH & Remote

ssh -i ~/.ssh/id_rsa user@host

Connect using a specific private key file

Connects using a specific private key file for authentication instead of a password. The private key proves your identity.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.