xxxxxxxxxx
//update the settings.json file in vsode with the below line
{
"remote.SSH.enableRemoteCommand": true
}
//update your .ssh/config file with this settings
Host <ssh_connection_name>
HostName <ip_address>
User <username>
StrictHostKeyChecking no
RemoteCommand sudo su -
RequestTTY true