18 May 2015

generating an ssh key

  1. generating

         $ ssh-keygen -t rsa -C "hqlgree2@gmail.com"
    
  2. show your public key

         $ cat ~/.ssh/id_rsa.pub
    

copy the complete key

  1. windows

         > clip < id_rsa.pub
    
  2. linux

         $ xclip -sel clip < id_rsa.pub
    
  3. mac

         $ pbcopy < id_rsa.pub
    

reference



blog comments powered by Disqus