После обновления до macOS Mojave я больше не могу постоянно подключаться к серверу ssh. Часто после ввода команды ssh ничего не происходит - нет входа в систему, нет запроса на ввод пароля, нет сообщения об ошибке / истечении времени ожидания. Тем не менее, при некоторых попытках я получаю приглашение ввести пароль и могу войти в систему правильно. Это отладочная трассировка, которую я получаю:

OpenSSH_7.7p1, LibreSSL 2.7.3
debug1: Reading configuration data /Users/admin/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 48: Applying options for *
debug1: Connecting to foo.cis.jhu.edu port 22.
debug1: Connection established.
debug1: key_load_public: No such file or directory
debug1: identity file /Users/admin/.ssh/id_rsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/admin/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/admin/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/admin/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/admin/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/admin/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/admin/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/admin/.ssh/id_ed25519-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/admin/.ssh/id_xmss type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/admin/.ssh/id_xmss-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_7.7
debug1: Remote protocol version 2.0, remote software version OpenSSH_6.5
debug1: match: OpenSSH_6.5 pat OpenSSH_6.5*,OpenSSH_6.6* compat 0x14000000
debug1: Authenticating to foo.cis.jhu.edu:22 as 'mlu'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: diffie-hellman-group-exchange-sha1
debug1: kex: host key algorithm: ssh-ed25519
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: SSH2_MSG_KEX_DH_GEX_REQUEST(2048<8192<8192) sent
debug1: got SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: got SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Server host key: ssh-ed25519 SHA256:UaOaJcW0TqCgqHSs/9DBvznDy714FRbcfyo0Rmw4kao
debug1: Host 'foo.cis.jhu.edu' is known and matches the ED25519 host key.
debug1: Found key in /Users/admin/.ssh/known_hosts:1
debug1: rekey after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey after 134217728 blocks
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Trying private key: /Users/admin/.ssh/id_rsa
debug1: Trying private key: /Users/admin/.ssh/id_dsa
debug1: Trying private key: /Users/admin/.ssh/id_ecdsa
debug1: Trying private key: /Users/admin/.ssh/id_ed25519
debug1: Trying private key: /Users/admin/.ssh/id_xmss
debug1: Next authentication method: password

0