首页 > 代码库 > Generating SSH Keys on windows

Generating SSH Keys on windows

two ways here I provide:

  • use openSSH command line on git bash(such as msysgit bash)

    • ls -al ~/.ssh
    • ssh-keygen -t rsa -C "phpgcs@qq.com"
    • eval "$(ssh-agent -s)"
    • ssh-add ~/.ssh/id_rsa
    • clip < ~/.ssh/id_rsa.pub
    • ssh -T git@github.com
  • use some git-gui tools, such as Putty or msysgit,or github For Windows(only support Windows Vista, 7, 8, & 8.1)

refer to : http://guides.beanstalkapp.com/version-control/git-on-windows.html

refer to : https://help.github.com/articles/generating-ssh-keys