Just restart it and it will be solved. That’s what I did.
Could you try the Anysphere remote ssh extension (search for @id:anysphere.remote-ssh in the marketplace)?
@id:anysphere.remote-ssh