Skip to content

Commit 13caa3e

Browse files
authored
Merge branch 'main' into yml-to-yaml-fenced-code
2 parents 4ec1687 + 416f87a commit 13caa3e

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

content/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,25 @@ Before adding a new SSH key to the ssh-agent to manage your keys, you should hav
105105
**Note:** If you chose not to add a passphrase to your key, you should omit the `UseKeychain` line.
106106
107107
{% endnote %}
108+
109+
{% mac %}
110+
{% note %}
111+
112+
**Note:** If you see an error like this
113+
114+
```
115+
/Users/USER/.ssh/config: line 16: Bad configuration option: usekeychain
116+
```
117+
118+
add an additional config line to your `Host *` section:
119+
120+
```
121+
Host *
122+
IgnoreUnknown UseKeychain
123+
```
124+
125+
{% endnote %}
126+
{% endmac %}
108127
109128
3. Add your SSH private key to the ssh-agent and store your passphrase in the keychain. {% data reusables.ssh.add-ssh-key-to-ssh-agent %}
110129
```shell

0 commit comments

Comments
 (0)