powershell 7 randomly drops ssh connections after exactly 3 minutes

Posted by Sroni4967@reddit | sysadmin | View on Reddit | 10 comments

upgraded from powershell 5 to 7.4.6 last week and now ssh sessions to linux boxes just die at the 3 minute mark every time. happens with openssh client 9.5 on windows 11 22h2, but only when launched from pwsh not cmd.