一. 首先安裝git二. 桌面上右鍵 Git Bash Here三. 命令ssh-keygen -t rsa然后 一直enter
四. 將公鑰放到服務器上就可以使用SSH鏈接了.
參考鏈接:https://blog.csdn.net/cduoa/article/details/125742406