* Reword lots of instances of 'will' * Reword lots of instances of won't * Reword lots of instances of we'll * Eradicate you'll * Eradicate 'be able to' type of phrases * Eradicate 'unable to' type of phrases * Eradicate 'has / have to' type of phrases * Eradicate 'note that' type of phrases * Eradicate 'in order to' type of phrases * Redirect to official Chef and Puppet docs * Eradicate gratuitous 'please' * Reduce use of e.g. * Reduce use of i.e. * Reduce use of N.B. * Get rid of 'sexagesimal' and correct some errors
2.3 KiB
- Mac
- Windows
- Linux
{% capture mac-content-add %} 1. Start the `ssh-agent` in the background using the command `eval "$(ssh-agent -s)"`. You get the agent process ID in return.
```none
eval "$(ssh-agent -s)"
Agent pid 59566
```
-
On macOS Sierra 10.12.2 or newer, modify your
~/.ssh/configfile to automatically load keys into thessh-agentand store passphrases in your keychain.Host * AddKeysToAgent yes UseKeychain yes IdentityFile ~/.ssh/id_rsa -
Add your SSH private key to the ssh-agent, using the default macOS
ssh-addcommand.$ ssh-add -K ~/.ssh/id_rsaIf you created your key with a different name or have an existing key with a different name, replace
id_rsain the command with the name of your private key file.
{% endcapture %} {{ mac-content-add | markdownify }}
{% capture win-content-add %}
-
Start the
ssh-agentin the background.eval "$(ssh-agent -s)" Agent pid 59566 -
Add your SSH private key to the ssh-agent.
$ ssh-add -K ~/.ssh/id_rsaIf you created your key with a different name or have an existing key with a different name, replace
id_rsain the command with the name of your private key file.
{% endcapture %} {{ win-content-add | markdownify }}
{% capture linux-content-add %}
-
Start the
ssh-agentin the background.eval "$(ssh-agent -s)" Agent pid 59566 -
Add your SSH private key to the ssh-agent.
$ ssh-add -K ~/.ssh/id_rsaIf you created your key with a different name or have an existing key with a different name, replace
id_rsain the command with the name of your private key file.
{% endcapture %} {{ linux-content-add | markdownify }}