SSH QEMU ISSUE by using with MacOs Description of problem: ssh connection between Qemu Image and Guest Host (MacOS) broken down after few minutes Steps to reproduce: 1. Take the Qemu window and external ssh connection to backround, \ wait until few minutes and the connection are frozen. \ If we clicking to qemu window again, the ssh connection are available Additional information: The ssh connection settings by Macos: \ Host * \ AddKeysToAgent yes \ IdentityFile ~/.ssh/id_rsa \ IdentitiesOnly yes \ ServerAliveInterval 3600 \ TCPKeepAlive yes \ ServerAliveCountMax 2 \ \ \ SSH connection settings by Ubuntu Server: Include /etc/ssh/sshd_config.d/*.conf \ \ #Port 22 \ #AddressFamily any \ #ListenAddress 0.0.0.0 \ #ListenAddress :: \ #HostKey /etc/ssh/ssh_host_rsa_key \ #HostKey /etc/ssh/ssh_host_ecdsa_key \ #HostKey /etc/ssh/ssh_host_ed25519_key \ #RekeyLimit default none \ #SyslogFacility AUTH \ #LogLevel INFO \ #LoginGraceTime 2m \ #PermitRootLogin prohibit-password \ #StrictModes yes \ #MaxAuthTries 6 \ #MaxSessions 10 \ #PubkeyAuthentication yes \ #Expect .ssh/authorized_keys2 to be disregarded by default in future. \ #AuthorizedKeysFile .ssh/authorized_keys .ssh/authorized_keys2 \ #AuthorizedPrincipalsFile none \ #AuthorizedKeysCommand none \ #AuthorizedKeysCommandUser nobody \ #HostbasedAuthentication no \ #IgnoreUserKnownHosts no \ #IgnoreRhosts yes \ #PasswordAuthentication yes \ #PermitEmptyPasswords no \ ChallengeResponseAuthentication no \ #KerberosAuthentication no \ #KerberosOrLocalPasswd yes \ #KerberosTicketCleanup yes \ #KerberosGetAFSToken no \ #GSSAPIAuthentication no \ #GSSAPICleanupCredentials yes \ #GSSAPIStrictAcceptorCheck yes \ #GSSAPIKeyExchange no \ UsePAM yes \ #AllowAgentForwarding yes \ #AllowTcpForwarding yes \ #GatewayPorts no \ X11Forwarding yes \ #X11DisplayOffset 10 \ #X11UseLocalhost yes \ #PermitTTY yes \ PrintMotd no \ #PrintLastLog yes \ #TCPKeepAlive yes \ #PermitUserEnvironment no \ #Compression delayed \ #ClientAliveInterval 0 \ #ClientAliveCountMax 3 \ #UseDNS no \ #PidFile /var/run/sshd.pid \ #MaxStartups 10:30:100 \ #PermitTunnel no \ #ChrootDirectory none \ #VersionAddendum none \ #Banner none \ AcceptEnv LANG LC_* \ PasswordAuthentication yes \ ClientAliveInterval 600 \ TCPKeepAlive yes \ ClientAliveCountMax 10 \