//添加命令
Administrator@WIN-G9SG25BBAIL MINGW64 ~
$ ssh-add helloworld
Enter passphrase for helloworld:
Identity added: helloworld (2088600574@qq.com)
//添加完了,显示一下
Administrator@WIN-G9SG25BBAIL MINGW64 ~
$ ssh-add -l
2048 SHA256:X/H6FHiBTgNIhodmqd55yjHTPS3kj6pHdOF9BvXwnTA 2088600574@qq.com (RSA)
Administrator@WIN-G9SG25BBAIL MINGW64 ~
$
//连接远程仓库,看看效果
Administrator@WIN-G9SG25BBAIL MINGW64 ~
$ ssh -T git@github.com
Hi qqhfeng! You‘ve successfully authenticated, but GitHub does not provide shell access.
Administrator@WIN-G9SG25BBAIL MINGW64 ~
$
原文:https://www.cnblogs.com/qqhfeng/p/10840013.html