//添加命令git
Administrator@WIN-G9SG25BBAIL MINGW64 ~
$ ssh-add helloworld
Enter passphrase for helloworld:
Identity added: helloworld (2088600574@qq.com)github
//添加完了,顯示一下
Administrator@WIN-G9SG25BBAIL MINGW64 ~
$ ssh-add -l
2048 SHA256:X/H6FHiBTgNIhodmqd55yjHTPS3kj6pHdOF9BvXwnTA 2088600574@qq.com (RSA)
Administrator@WIN-G9SG25BBAIL MINGW64 ~
$
shell
//鏈接遠程倉庫,看看效果ssh
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 ~
$
ide