I have similar problem as mentioned here. But in my situation, it pup out gzip and tar error after wget download complete response.
The weird thing is that I find out my target ssh server downloaded a empty (size = 0 byte) vscode-remote-lock.[#commit] file. In my opinion, maybe the error of gzip/tar is caused by the empty vscode-remote-lock.[#commit].
These issues cannot be solved by different versions of VS Code and Remote-SSH Extension.
I had try to download and unzip the vscdoe-server-linux-x64.tar.gz in my target ssh server .vscode-server/ folder by myself. ( Reference here ) Everything goes well and Remote-SSH extension on work successfully.
How can I find out the root cause and solve it ?
Remote SSH server OS version: Ubuntu 18.04.01 image on RHEL 7.5
My target ssh server is a Kubernetes Pod equipped with
openssh-server,wget,gzip,tarpackage on RHEL 7.5.
Screen Shot :
