遇到这个问题是权限的问题,将你的私钥文件修改成600就ok了
This private key will be ignored. bad permissions: ignore key: /path/to/my/key.pem Permission denied (publickey). It's a common error to see when trying to log in to a server via SSH and a key file, and luckily it has a relatively easy fix. But before we get to that, let's ...