Skip to content

Instantly share code, notes, and snippets.

@nery
Created August 28, 2014 14:16
Show Gist options
  • Save nery/f7f5ab3ac61855ae7978 to your computer and use it in GitHub Desktop.
Save nery/f7f5ab3ac61855ae7978 to your computer and use it in GitHub Desktop.
show and copy ssh public key
#!/bin/bash
cd ~/.ssh
echo "This is your key"
cat id_rsa.pub
pbcopy < id_rsa.pub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment