Why does windows run gitlab-runner report insufficient permissions

Viewed 19
$ ssh -i id_rsa xxx@xxx.xxx.xxx.xxx echo "hello world:w"
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions for 'C:\\Users\\xxx\\id_rsa' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
Load key "C:\\Users\\xxx\\id_rsa": bad permissions

Remote desktop to powershell of gitlab-runner computer, ssh can be completed, but ssh cannot be run in gitlab-runner, I want to use the command tool to fix, not the window interface

0 Answers
Related