(base) zhiyuan-chen@zhiyuanchen-ZHAOYANG-E52-80:~/下载$ chmod 400 Zhiyuan-Chen3.pem
(base) zhiyuan-chen@zhiyuanchen-ZHAOYANG-E52-80:~/下载$ ssh -v -i "Zhiyuan-Chen3.pem" ubuntu@ec2-3-17-12-24.us-east-2.compute.amazonaws.com
OpenSSH_8.0p1 Ubuntu-6build1, OpenSSL 1.1.1c 28 May 2019
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to ec2-3-17-12-24.us-east-2.compute.amazonaws.com [3.17.12.24] port 22.
debug1: Connection established.
debug1: identity file Zhiyuan-Chen3.pem type -1
debug1: identity file Zhiyuan-Chen3.pem-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.0p1 Ubuntu-6build1
kex_exchange_identification: read: Connection reset by peer
各位大神帮我看下,是哪出问题了,没连上?小弟在此特别感激!谢谢
read: Connection reset by peer
连接中断,检查下你的服务器的端口、防火墙等的配置。还有你客户端的网络的稳定性。
如果还不行,就是你知道的原因了。现在,非https流量,特别是什么ss ssh之类的,只要稍微一大,就会被和谐。