验证 SSH Keys 是否添加成功

当ssh秘钥配置完毕后,如何检验ssh keys是否添加成功,输入以下命令:

$ ssh -T git@github.com 

如图:当看到Hi xxx! You've successfully authenticated, but GitHub does not # provide shell access.后就配置成功了。

原文地址:https://www.cnblogs.com/lisen203/p/9536893.html