0
我在laravel項目文件夾中運行以下命令並獲得跟隨錯誤。Laravel「envoy run」命令不能使用ssh密鑰
rakib$ envoy run list --env=production
[[email protected]]: Permission denied (publickey).
但我可以成功使用的ssh以下命令:
ssh -i ~/.ssh/sw-new.pem [email protected]
我的〜/ .ssh/config文件的內容是這樣的:
Host 54.187.123.4
IdentityFile ~/.ssh/sw-new.pem
任何人都可以建議我什麼是可能的獲得「權限被拒絕」錯誤的原因?
非常感謝,它的工作! – Rakib