gpt4 book ai didi

ssh - 无法通过 SSH 连接到服务器

转载 作者:行者123 更新时间:2023-12-02 14:01:03 24 4
gpt4 key购买 nike

我正在尝试使用 SSH 连接到 AWS 服务器。但出于某种原因我不能。当我在下面运行时:
ssh -i <keypair.pem> ec2-user@<ip> -vvv

我得到:
OpenSSH_7.6p1 Ubuntu-4, OpenSSL 1.0.2n 7 Dec 2017
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: resolving "<ip>" port 22
debug2: ssh_connect_direct: needpriv 0
debug1: Connecting to <ip> [<ip>] port 22.
debug1: Connection established.
debug1: key_load_public: No such file or directory
debug1: identity file <keypair.pem> type -1
debug1: key_load_public: No such file or directory
debug1: identity file <keypair.pem>-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_7.6p1 Ubuntu-4

我猜这是路由器 ip ban 配置问题?我能做什么?

最佳答案

关于ssh - 无法通过 SSH 连接到服务器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50635347/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com