# Pipe my public key to clipboard
alias pubkey="more ~/.ssh/id_dsa.public | pbcopy | echo '=> Public key copied!'"
# Pipe my public key to clipboard
alias pubkey="more ~/.ssh/id_rsa.pub | pbcopy | echo '=> Public key copied!'"
Use id_rsa.pub for the pubkey alias
Use id_rsa.pub for the pubkey alias
