Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

How to automatically open a VSCode workspace and connect to remote URI?

I have a .code-workspace file that connects via sftp to a remote server using the Remote Workspace plugin:

{
  "folders":[
    {
      "uri": "sftp://name:pass@domain.com",
      "name": "My remote folder"
    }
  ]
}

I'd like to be able to open this file from the command line and have the remote connection happen automatically. Is this possible?

Comments