Key is invalid. You must supply a key in OpenSSH public key format github

  • Post author:
  • Post category:其他

在配github ssh-key时,我把.ssh/id_rsa以记事本打开复制后粘贴过去会报错,

Key is invalid. You must supply a key in OpenSSH public key format github

需要打开 git bash
输入命令 clip < ~/.ssh/id_rsa.pub
回车后就复制到剪切板了,到github添加ssh keys的地方直接就能粘贴上


版权声明:本文为little___ant原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。