Visual Studio / VS Code has become popular .. but it causes all kinds of issues, in an attempt to be "smart" .. so if you have issues, please terminate Visual Studio / VS Code and try to connect from a normal ssh client.