GetValkyrie / valkyrie

Valkyrie is an opinionated local dev stack that makes features/git based Drupal development easy.
http://www.getvalkyrie.com
GNU General Public License v3.0
45 stars 11 forks source link

Add command to print the ssh key #3

Closed MatthewHager closed 9 years ago

MatthewHager commented 9 years ago

Would be awesome because I keep needing to cat .valkyrie/ssh/id_rsa.pub | pbcopy. Would be great to be able to drush vsk | pbcopy.

ergonlogic commented 9 years ago

why are you pastebinning this key?

MatthewHager commented 9 years ago

So I can paste it into gitlab for the deploy key. It's not pastebin, that puts it in my clipboard.

ergonlogic commented 9 years ago

I think what you need here is a shell alias:

alias vsk='cat .valkyrie/ssh/id_rsa.pub | pbcopy'

I'd rather figure out a way to register the keys directly with gitlab/github's API.

MatthewHager commented 9 years ago

OK, just close this out with a wontfix.