SSH Key
Overview
An SSH key is a cryptographic key pair used to authenticate SSH connections without relying on a password for each login.
It matters because key-based authentication is stronger and more automatable than password-only SSH access in many operational workflows.
What an SSH Key Does
An SSH key usually involves a public key and a private key.
That pair is used for:
- server login
- Git authentication
- secure automation
- remote tooling access
This makes SSH keys central to both infrastructure and development workflows.
Why SSH Keys Matter
SSH keys matter because secure remote access needs both strength and repeatability.
Teams use them to:
- reduce password use
- support automated access
- enable controlled server logins
- connect to platforms such as GitHub
That makes SSH keys one of the most common practical security credentials in engineering work.
SSH Key vs Password Authentication
SSH keys are often preferred over password-only login.
- Keys are harder to brute-force in normal use.
- They work better for automation.
- They still require careful storage and rotation.
This matters because stronger credentials do not help if private keys are handled carelessly.
Practical Caveats
SSH keys are useful, but they can create hidden risk.
- Private keys must be protected.
- Passphrases still matter.
- Old keys should be removed when no longer needed.
- Shared keys weaken accountability.
Good SSH-key hygiene is access management, not just setup work.
Frequently Asked Questions
Is an SSH key a password replacement?
In many workflows, yes, but it is still a credential that needs secure storage and lifecycle management.
Can SSH keys be used with GitHub?
Yes. That is one of their most common developer-facing uses.
Should one private key be shared across a team?
Usually no. Shared credentials weaken accountability and access control.
Resources
- GitHub: Connecting to GitHub with SSH
- OpenBSD:
ssh-keygenManual - DigitalOcean: How to Add SSH Keys to Droplets