Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/ssh/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/ruby-on-rails-4/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Amazon web services Windows 10为openssh导入pem文件_Amazon Web Services_Ssh_Windows 10_Openssh_Pem - Fatal编程技术网

Amazon web services Windows 10为openssh导入pem文件

Amazon web services Windows 10为openssh导入pem文件,amazon-web-services,ssh,windows-10,openssh,pem,Amazon Web Services,Ssh,Windows 10,Openssh,Pem,Windows10Pro OpenSSH客户端已经安装 我有一个由AWS EC2实例提供的pem文件 如何在Windows 10中安装pem证书以及在何处安装 mmc无法识别该格式 这是我想要运行的ssh命令 ssh-ic:\my.pem ec2-user@xx.xx.xx.xxx. 正如所料,我得到了警告:未受保护的私钥文件。。。ec2-user@xx.xx.xx.xxx:权限被拒绝 但这表明OpenSSH客户端正在工作 我已经在互联网上搜索过了,所以没有结果。请参见ibug的答案: 在Wi

Windows10Pro

OpenSSH客户端已经安装

我有一个由AWS EC2实例提供的pem文件

如何在Windows 10中安装pem证书以及在何处安装

mmc无法识别该格式

这是我想要运行的ssh命令

ssh-ic:\my.pem ec2-user@xx.xx.xx.xxx.

正如所料,我得到了
警告:未受保护的私钥文件。。。ec2-user@xx.xx.xx.xxx:权限被拒绝
但这表明OpenSSH客户端正在工作

我已经在互联网上搜索过了,所以没有结果。

请参见ibug的答案:

在Windows资源管理器中找到该文件,右键单击该文件,然后选择“属性”。导航到“安全”选项卡,然后单击“高级”

将所有者更改为您,禁用继承并删除所有权限。然后授予您自己“完全控制”并保存权限。现在SSH不会再抱怨文件权限过于开放

结果应该是这样的:

"