天天看點

git使用publicKey隻讀項目資料

  因為權限太開放,需要使用chmod 400/600 給檔案隻讀,讀改權限。

  再通過ssh-add -K 密鑰位址。

  就可以git clone 資料了。

  主要問題就是在chmod上。

  小記