You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can also edit a TeX file on a remote server and preview the pdf file. However, when you use this feature on a remote server, please consider the following security risks.
VS Code Remote Development extensions are NOT supposed to be used on a usual server logged in by multiple users.
VS Code Remote Sever can be accessed by other users on the remote server
VS Code Remote Development extensions start a server to host VS Code extensions on the remote server. Other users on the remote server can access the server.
Your PDF file can be read by other users on the remote server
LaTeX Workshop starts a http server to preview the pdf file on the remote server. Other users on the remote server can access the server and can read your PDF file.
Security model of VS Code Remote Development
You MUST NOT build an untrusted LaTeX document with VS Code Remote Development. It is NOT SAFE.
you should only connect to VS Code servers that you trust. So you should only connect to SSH machines that you trust and only create dev containers from definitions that you trust (i.e. you should not use dev containers as a sandbox).