SSH в macOS на удаленную виртуальную машину получает client_loop send disconnect broken pipe

Некоторое время у меня были проблемы с ssh на моем MacBook (Big Sur). Я впервые заметил с помощью git. Теперь я пытаюсь подключиться к виртуальной машине, и после ввода пароля терминал на некоторое время зависает, а затем я получаю:
client_loop: send disconnect: Broken pipe. Я попытался добавить ServerAliveInterval, IPQoS и другие найденные мной решения, но, похоже, ничего не работает.

Host *
    SendEnv LANG LC_*
    ServerAliveInterval 120
    IPQoS lowdelay throughput
    ServerAliveCountMax 5

Это подробный вывод:

ssh -v mmm@server
OpenSSH_8.1p1, LibreSSL 2.7.3
debug1: Reading configuration data /Users/mmm/.ssh/config
debug1: /Users/mmm/.ssh/config line 1: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 47: Applying options for *
debug1: Connecting to server port 22.
debug1: Connection established.
debug1: identity file /Users/mmm/.ssh/id_rsa type 0
debug1: identity file /Users/mmm/.ssh/id_rsa-cert type -1
debug1: identity file /Users/mmm/.ssh/id_dsa type -1
debug1: identity file /Users/mmm/.ssh/id_dsa-cert type -1
debug1: identity file /Users/mmm/.ssh/id_ecdsa type -1
debug1: identity file /Users/mmm/.ssh/id_ecdsa-cert type -1
debug1: identity file /Users/mmm/.ssh/id_ed25519 type -1
debug1: identity file /Users/mmm/.ssh/id_ed25519-cert type -1
debug1: identity file /Users/mmm/.ssh/id_xmss type -1
debug1: identity file /Users/mmm/.ssh/id_xmss-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.1
debug1: Remote protocol version 2.0, remote software version OpenSSH_7.9p1 Debian-10+deb10u2
debug1: match: OpenSSH_7.9p1 Debian-10+deb10u2 pat OpenSSH* compat 0x04000000
debug1: Authenticating to server:22 as 'mmm'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: ecdsa-sha2-nistp256
debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ecdsa-sha2-nistp256 SHA256:Gy6pf90yIod/x4QkXV3gIa1u0W8DuNRnsLHNe+JWzU
debug1: Host 'server' is known and matches the ECDSA host key.
debug1: Found key in /Users/mmm/.ssh/known_hosts:6
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey in after 134217728 blocks
debug1: Will attempt key: /Users/mmm/.ssh/id_rsa RSA SHA256:Bonpo3/yi3FnTjV2Md5en+iJzXYNcHsCwpnJyaVjLI
debug1: Will attempt key: /Users/mmm/.ssh/id_dsa
debug1: Will attempt key: /Users/mmm/.ssh/id_ecdsa
debug1: Will attempt key: /Users/mmm/.ssh/id_ed25519
debug1: Will attempt key: /Users/mmm/.ssh/id_xmss
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521>
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering public key: /Users/mmm/.ssh/id_rsa RSA SHA256:Bonpo3/yi3FnTjV2Md5en+iJzXYNcHsCwpnJyaVjLI
debug1: Server accepts key: /Users/mmm/.ssh/id_rsa RSA SHA256:Bonpo3/yi3FnTjV2Md5en+iJzXYNcHsCwpnJyaVjLI
Enter passphrase for key '/Users/mmm/.ssh/id_rsa':
debug1: Authentication succeeded (publickey).
Authenticated to server ([IP]:22).
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug1: pledge: network
debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0
debug1: Remote: /home/mmm/.ssh/authorized_keys:1: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding
debug1: Remote: /home/mmm/.ssh/authorized_keys:1: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding
debug1: Sending environment.
debug1: Sending env LC_TERMINAL_VERSION = 3.4.4
debug1: Sending env LC_CTYPE = UTF-8
debug1: Sending env LC_TERMINAL = iTerm2
client_loop: send disconnect: Broken pipe

0

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *