从Windows Box

时间:2017-05-12 01:11:35

标签: amazon-web-services amazon-ec2

尝试从Windows 10盒子进入我的amazon EC2 linux实例。我从https://www.mls-software.com/opensshd.html获得了openssh for windows。我知道我是公司防火墙和Web代理的幕后黑手。我在EC2实例上的入站规则设置为

enter image description here

ssh  -i "awslamp.pem"  ec2-user@ec2-xx-xx-xx-xxx.ap-southeast-2.compute.amazonaws.com

给出

port22: Connection refused

1 个答案:

答案 0 :(得分:1)

你有没有试过"我的ip"在入站规则设置?此外,尝试从所有IP地址允许SSH以进行故障排除。我知道它不是推荐的设置。它只是用于故障排除,并确保您的公司网络允许您连接到它。不要忘记将设置更改回自定义。