Skip to content

Commit acdf4a2

Browse files
authored
Add pbcopy tip for macOS users
This copies the key directly to your clipboard on macOS.
1 parent 79e6bdd commit acdf4a2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ Example for samkirkland.com `ssh-keyscan -p 7822 samkirkland.com`
240240

241241
**Linux, or OSX (using homebrew)**
242242
Install the OpenSSH packages and use `ssh-keyscan <hostname>` and copy the hash output
243+
On macOS you can use `ssh-keyscan <hostname> | pbcopy` to copy the hash output to your clipboard
243244

244245
Add the `known-hosts` argument with your hosts hash
245246
Example: `knownhosts: ssh-rsa AAAAB3Nza...H1Q5Spw==`

0 commit comments

Comments
 (0)