Add pbcopy tip for macOS users

This copies the key directly to your clipboard on macOS.
This commit is contained in:
tflight 2020-07-17 11:14:16 -04:00 committed by GitHub
parent 79e6bdd312
commit acdf4a21c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -240,6 +240,7 @@ Example for samkirkland.com `ssh-keyscan -p 7822 samkirkland.com`
**Linux, or OSX (using homebrew)**
Install the OpenSSH packages and use `ssh-keyscan <hostname>` and copy the hash output
On macOS you can use `ssh-keyscan <hostname> | pbcopy` to copy the hash output to your clipboard
Add the `known-hosts` argument with your hosts hash
Example: `knownhosts: ssh-rsa AAAAB3Nza...H1Q5Spw==`