ssh-keygen -t rsa -C "xxx@xxx.com"
生成后使用cat或者vim 查看该rsa,然后复制到github的ssh keys中:
提示: Key is invalid Fingerprint cannot be generated
解决方案:
找到该目录,使用文本工具打开,然后复制,就ok了。
转载于:https://www.cnblogs.com/yangzhenlong/p/5367377.html