mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-16 05:13:11 +01:00
0db520b429
This completes the process of updating all the old READMEs to the new format.
24 lines
519 B
Markdown
24 lines
519 B
Markdown
# ssh-agent
|
|
|
|
[SSH][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
|
|
|
|
```sh
|
|
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`
|
|
|
|
[ssh]: https://www.archlinux.org/packages/core/x86_64/openssh/
|