diff --git a/docs/images/remotessh_00.png b/docs/images/remotessh_00.png new file mode 100644 index 00000000..ed39e721 Binary files /dev/null and b/docs/images/remotessh_00.png differ diff --git a/docs/images/remotessh_01.png b/docs/images/remotessh_01.png new file mode 100644 index 00000000..66e4123d Binary files /dev/null and b/docs/images/remotessh_01.png differ diff --git a/docs/images/remotessh_02.png b/docs/images/remotessh_02.png new file mode 100644 index 00000000..52a8fdb9 Binary files /dev/null and b/docs/images/remotessh_02.png differ diff --git a/docs/images/remotessh_03.png b/docs/images/remotessh_03.png new file mode 100644 index 00000000..0363487d Binary files /dev/null and b/docs/images/remotessh_03.png differ diff --git a/docs/images/remotessh_04.png b/docs/images/remotessh_04.png new file mode 100644 index 00000000..29b229a8 Binary files /dev/null and b/docs/images/remotessh_04.png differ diff --git a/docs/images/remotessh_05.png b/docs/images/remotessh_05.png new file mode 100644 index 00000000..7720f5d5 Binary files /dev/null and b/docs/images/remotessh_05.png differ diff --git a/docs/images/remotessh_06.png b/docs/images/remotessh_06.png new file mode 100644 index 00000000..59af7737 Binary files /dev/null and b/docs/images/remotessh_06.png differ diff --git a/docs/images/remotessh_07.png b/docs/images/remotessh_07.png new file mode 100644 index 00000000..974587e5 Binary files /dev/null and b/docs/images/remotessh_07.png differ diff --git a/docs/images/remotessh_08.png b/docs/images/remotessh_08.png new file mode 100644 index 00000000..9fa4b130 Binary files /dev/null and b/docs/images/remotessh_08.png differ diff --git a/docs/images/remotessh_09.png b/docs/images/remotessh_09.png new file mode 100644 index 00000000..3b5bf0f3 Binary files /dev/null and b/docs/images/remotessh_09.png differ diff --git a/docs/images/remotessh_10.png b/docs/images/remotessh_10.png new file mode 100644 index 00000000..c5709381 Binary files /dev/null and b/docs/images/remotessh_10.png differ diff --git a/docs/images/remotessh_11.png b/docs/images/remotessh_11.png new file mode 100644 index 00000000..e439a272 Binary files /dev/null and b/docs/images/remotessh_11.png differ diff --git a/docs/images/remotessh_12.png b/docs/images/remotessh_12.png new file mode 100644 index 00000000..9774791d Binary files /dev/null and b/docs/images/remotessh_12.png differ diff --git a/docs/images/remotessh_13.png b/docs/images/remotessh_13.png new file mode 100644 index 00000000..01464f78 Binary files /dev/null and b/docs/images/remotessh_13.png differ diff --git a/docs/index.html b/docs/index.html index 2caa5349..f83b0655 100644 --- a/docs/index.html +++ b/docs/index.html @@ -290,6 +290,15 @@
+
+### Modify Extension Settings
+In its default configuration, the extension doesn't play nicely with the CAEN computers. So, we need to modify some settings first.
+
+Open the command palette by pressing Command + Shift + P on Mac or Ctrl + Shift + P on Windows/Linux. Search for "Remote SSH settings" and click on the option.
+
+
+
+
+Search for "Exec Server" and disable the "Use Exec Server" option. This setting is needed when the remote home directory is on a network share.
+
+
+
+Search for "Lockfile" and enable the "Lockfiles in Tmp" option.
+
+
+
+
+## Connect to CAEN
+### Connect
+Click the remote connection button on the bottom left and then click the "Connect to Host..." option.
+
+
+
+Type in `
+
+
+
+As an added bonus, adding hosts in this manner also gives you an easy way to SSH when using the terminal. For example:
+```console
+$ ssh caen
+(armaanr@login-course.engin.umich.edu) Password:
+```
+
+
+
+
+
+
+
+### Open Workspace
+Now you can open a folder from your CAEN home directory as a workspace.
+
+
+
+Browse to your chosen directory and click "OK".
+
+
+
+Now you should be able to work on CAEN!
+
+
+
+
+
+## Troubleshooting
+If you are suddenly unable to connect, you can try killing the VS Code server and/or deleting its files. Sometimes the files that VS Code drops onto the remote host don't get cleaned up properly and it tries to reuse an unreachable remote server. SSH into CAEN and execute the following:
+
+```console
+$ ssh armaanr@login-course.engin.umich.edu
+...
+$ pkill -u $(id -u) -f vscode
+$ rm -rf ~/.vscode-server
+```
+
+Restart VS Code on your own computer and [try again](#connect-to-caen).
+
+
+## Acknowledgments
+Original tutorial written by Anish Nyayachavadi, Fall 2024.
+
+This document is licensed under a [Creative Commons Attribution-NonCommercial 4.0 License](https://creativecommons.org/licenses/by-nc/4.0/). You’re free to copy and share this document, but not to sell it. You may not share source code provided with this document.