Skip to content

Commit fd31b25

Browse files
authored
Update mac-setup.md
1 parent 431b4cf commit fd31b25

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

1-getting-started/mac-setup.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,13 @@ bash
121121
gpg --output ssh_keys.zip --decrypt ssh_keys.zip.gpg
122122
```
123123

124-
This will output the ssh_keys.zip file containing your unencrypted SSH keys!
124+
This will output the ssh_keys.zip file containing your unencrypted SSH keys.
125125

126126
You only need to export and import the specific GPG key used to encrypt the file. Not the entire GPG Suite setup.
127127
The keys can then be decrypted on a new device as long as that GPG key is installed.
128+
129+
TO IMPORT THE KEYS TO YOUR NEW MACHINE -
130+
eval "$(ssh-agent -s)"
131+
#### (example reply: Agent pid 59566, lets you know it's running)
132+
ssh-add --apple-use-keychain ~/.ssh/id_ed25519
133+
#### (or id_rsa, or whatever you made)

0 commit comments

Comments
 (0)