ocp 安装报Permission denied, please try again.





SSH_USER=root # if not root, make sure remote user can use sudo without password admin ALL=(ALL) NOPASSWD:ALL SSH_PORT=22 SSH_AUTH=pubkey # can be password or pubkey SSH_PASSWORD=’’ # password for passowrd auth, when use pubkey auth, is passphrase SSH_KEY_FILE=’/root/.ssh/id_rsa.pub’ # pubkey auth


Permissions 0640 for ‘/root/.ssh/id_rsa.pub’ are too open. It is required that your private key files are NOT accessible by others. This private key will be ignored. Load key “/root/.ssh/id_rsa.pub”: bad permissions Permission denied, please try again.

权限不对, chmod 600 /root/.ssh/id_rsa.pub