Shell/Bash: copy ssh key mac Example


Shell/Bash Example: This is the "copy ssh key mac" Example. compiled from many sources on the internet by

how to copy contents of ssh key into clipboard

pbcopy < ~/.ssh/ 

copy ssh key mac

cat ~/.ssh/ | pbcopy

copy my ssh key

clip < ~/.ssh/

how to copy ssh key

ssh-copy-id -i ~/.ssh/mykey [email protected]

copy remote ssh key mac

cat ~/.ssh/ | ssh @ 'cat >> .ssh/authorized_keys && echo "Public key successfully copied"'

* Summary: This "copy ssh key mac" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!