最近安裝deployer這套工具,遇到了以下問題:
ssh2_auth_pubkey_file(): Authentication failed for xxxx using public key: Username/PublicKey combination invalid
解法:
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys2
最近安裝deployer這套工具,遇到了以下問題:
ssh2_auth_pubkey_file(): Authentication failed for xxxx using public key: Username/PublicKey combination invalid
解法:
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys2