這是因為使用ssh協議時的公私鑰設置了密碼
刪除:
ssh-keygen -p
重新設置:
Enter file in which the key is (/Users/haoyangruanjian/.ssh/id_rsa):直接點回車, Enter new passphrase (empty for no passphrase):也是直接回車不設置密碼
然后再push就不用輸入密碼了
這是因為使用ssh協議時的公私鑰設置了密碼
刪除:
ssh-keygen -p
重新設置:
Enter file in which the key is (/Users/haoyangruanjian/.ssh/id_rsa):直接點回車, Enter new passphrase (empty for no passphrase):也是直接回車不設置密碼
然后再push就不用輸入密碼了
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。