我在尝试克隆 GitLab 私人服务器中的存储库时遇到了这个问题,因此我添加了详细程度并尝试首先连接到它,这是输出
$ ssh -i test -T -vvvv [email protected]
OpenSSH_9.3p1, OpenSSL 1.1.1u 30 May 2023
debug1: Reading configuration data /etc/ssh/ssh_config
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/c/Users/****/.ssh/known_hosts'
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/c/Users/****/.ssh/known_hosts2'
debug2: resolving "gitlab.aicrowd.com" port 22
debug3: resolve_host: lookup gitlab.aicrowd.com:22
debug3: ssh_connect_direct: entering
debug1: Connecting to gitlab.aicrowd.com [*.*.*.*] port 22.
debug3: set_sock_tos: set socket 4 IP_TOS 0x48
debug1: Connection established.
debug1: identity file test type 0
debug1: identity file test-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_9.3
kex_exchange_identification: read: Software caused connection abort
banner exchange: Connection to *.*.*.* port 22: Software caused connection abort
我可以 ping 通服务器,我在另一台机器上试过,它可以工作,我试图禁用防火墙,但仍然不起作用。