canonical / canonical/multipass
SSH sessions getting dropped on macOS
- Dominant language
- C++
- Stars
- 9.2k
- Forks
- 828
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 43
Description
> Multipass also became unusable for me after upgrading to 1.15.0 on Sequoia M1.
>
> First any SSH session to VM will be lost after some time, ranging from seconds to 1-2 mins.
>
> The logs is filled infinitely with
>
> `[2025-03-05T22:06:34.233] [info] [enduring-coonhound] SSH session disconnected
> [2025-03-05T22:06:34.233] [debug] [enduring-coonhound] Caching new SSH session
> [2025-03-05T22:06:36.214] [info] [enduring-coonhound] SSH session disconnected
> [2025-03-05T22:06:36.214] [debug] [enduring-coonhound] Caching new SSH session
> [2025-03-05T22:06:38.221] [info] [enduring-coonhound] SSH session disconnected
> [2025-03-05T22:06:38.222] [debug] [enduring-coonhound] Caching new SSH session
> [2025-03-05T22:06:40.224] [info] [enduring-coonhound] SSH session disconnected
> [2025-03-05T22:06:40.224] [debug] [enduring-coonhound] Caching new SSH session
> [2025-03-05T22:06:42.232] [info] [enduring-coonhound] SSH session disconnected
> [2025-03-05T22:06:42.233] [debug] [enduring-coonhound] Caching new SSH session
> [2025-03-05T22:06:44.239] [info] [enduring-coonhound] SSH session disconnected
> `
>
> and the UI keeps showing "waiting for demon ..."
>
> I'm thinking go back to try VirtualBox now ...
_Originally posted by @dohoangkhiem in [#3721](https://github.com/canonical/multipass/issues/3721#issuecomment-2701218364)_
Contributor guide
Research direction
Start by reproducing the SSH disconnect on macOS Sequoia with an M1 system and inspect the repeated “SSH session disconnected” and “Caching new SSH session” log entries. Trace why the session drops and why the UI remains at “waiting for demon ...”; done means SSH sessions stay connected and the repeated log cycle stops.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, macos
- Domain
- networking, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100