Ubuntu pm2密钥对gitlab ci的权限不正确

Ubuntu pm2密钥对gitlab ci的权限不正确,ubuntu,gitlab-ci,pm2,Ubuntu,Gitlab Ci,Pm2,我想从gitlab ci runner运行pm2,但在运行pm2之后,我收到以下消息: Warning: Permanently added 'xxxxxxx' (ECDSA) to the list of known hosts. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@

我想从gitlab ci runner运行pm2,但在运行pm2之后,我收到以下消息:

Warning: Permanently added 'xxxxxxx' (ECDSA) to the list of known hosts.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0755 for '/root/.ssh' 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": bad permissions
Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,password).
Deploy failed
我尝试设置
chmod 600~/.ssh
,但没有设置结果

有人能帮我吗