Skip to content

Commit f8eba3f

Browse files
committed
Better troubleshooting
1 parent 7acffb9 commit f8eba3f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/images/remotessh_11.png

36.4 KB
Loading

docs/setup_remotessh.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Search for "Exec Server" and disable the "Use Exec Server" option.
4040

4141
<img src="images/remotessh_02.png" width="768px" />
4242

43-
Search for "Flock" and disable the "Use Flock" option.
43+
Search for "Lockfile" and enable the "Lockfiles in Tmp" option.
4444

4545
<img src="images/remotessh_11.png" width="768px" />
4646

@@ -107,13 +107,13 @@ Now you should be able to work on CAEN!
107107

108108

109109
## Troubleshooting
110-
If you are suddenly unable to connect, you can try deleting the VS Code server 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:
110+
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:
111111

112112
```console
113-
113+
$ ssh armaanr@login-course.engin.umich.edu
114114
...
115-
$ mv ~/.vscode-server ~/.vscode-old
116-
$ rm -rf ~/.vscode-old
115+
$ pkill -u $(id -u) -f vscode
116+
$ rm -rf ~/.vscode-server
117117
```
118118

119119
Restart VS Code on your own computer and [try again](#connect-to-caen).

0 commit comments

Comments
 (0)