我正在尝试使用私钥使用Windows版OpenSSH与SSH服务器进行简单连接,并且遇到了以下问题:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions for 'private' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
Load key "private": bad permissions
Run Code Online (Sandbox Code Playgroud)
在Linux上,使用私钥文件上的简单chmod 600可以解决此问题,但是Windows没有等效的方法。
这听起来应该很容易,但是我完全无法找到任何合理的解决方案。是否可以直接添加私钥而不通过文件,也可以跳过此隐私检查?还是我很想念其他东西?