I resolved the problem simply by downgrading the VS Code version to 1.95, because the more recent versions are not compatible with Linux 18.04. I meen you are not able to use ssh remote connection from vscode