mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-02-06 21:10:05 +01:00
519 B
519 B
ssh-agent
SSH is used to connect to remote machines. I use a systemd service to manage ssh-agent.
Use Cases
ssh-agent can be used to:
- Hold private keys
You should not use ssh-agent if:
- You don't set a passphrase on your SSH keys
Usage
systemctl --user enable --now ssh-agent.service
In order for ssh-agent to cache your keys, you must first add them with ssh-add
or use AddKeysToAgent Yes
in your ~/.ssh/config