1
0
forked from extern/nix-config
donovanglover-nix-config/ssh-agent/README.md
Donovan Glover 0db520b429
docs: Update READMEs for ssh-agent, vim, and xmodmap
This completes the process of updating all the old READMEs
to the new format.
2018-11-23 00:27:58 -05:00

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/