Merge pull request #93 from tflight/patch-2

Add pbcopy tip for macOS users
This commit is contained in:
Sam Kirkland 2020-07-17 18:32:31 -05:00 committed by GitHub
commit 1053c3278e
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)** **Linux, or OSX (using homebrew)**
Install the OpenSSH packages and use `ssh-keyscan <hostname>` and copy the hash output 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 Add the `known-hosts` argument with your hosts hash
Example: `knownhosts: ssh-rsa AAAAB3Nza...H1Q5Spw==` Example: `knownhosts: ssh-rsa AAAAB3Nza...H1Q5Spw==`