SSH connection drops frequently when using Shared Network (Fedora 36)
- Dominant language
- Swift
- Stars
- 35.5k
- Forks
- 1.8k
- Avg merge
- 5d 5h
- Merged PRs (30d)
- 7
Description
I have setup a fresh VM with UTM (on M1 mac) and the below linux version.
Linux Distro/Version:
```
$ cat /etc/os-release
NAME="Fedora Linux"
VERSION="36 (Server Edition)"
```
Actions taken within VM:
* Uncommented the HostKey entries in /etc/ssh/sshd_config
* Uncommented the AuthorizedKeysFile line in /etc/sshd_config
* copy ssh key from host to VM via ssh-copy-id
Observed Behaviour:
* Network - Shared Mode - Attempt to SSH to VM when network is in 'Shared' - SSH connection drops almost instantly (certainly within 10 seconds)
* Network - Shared Mode - SSH with ServerAliveInterval - SSH Connection remains stable
* Network - Bridged - SSH Connection without ServerAliveInterval - SSH Connection remains stable
There seems to be an issue with the Shared network mode and SSH connection after the above actions.
Seems similar to [3143](https://github.com/utmapp/UTM/issues/3143) but this happens in Shared mode.
Contributor guide
Assessment
This issue has not been assessed yet.