From Non-compliant Networks (2-FA)
Accessing VSCode from Non-Brown compliant networks
Install the Remote Development extension pack for VSCode
Open VSCode settings
On Windows/Linux - File > Preferences > Settings
On macOS - Code > Preferences > Settings
Search for
symlinkand make sure the symlink searching is unchecked
VSCode settings with symlink searching unchecked Under VSCode settings, search for
remote ssh timeoutand manually enter a timeout value i.e.50s. It should give you enough time to complete 2-Factor Authentication.
VSCode settings showing remote SSH timeout value Edit the
~/.ssh/configfile on your local machine, add the following lines. Replace<username>with your Oscar username.# Jump box with public IP address Host jump-box HostName ssh.ccv.brown.edu User <username> # Target machine with private IP address Host ccv-vscode-node HostName vscode1 User <username> ProxyCommand ssh -q -W %h:%p jump-boxIn VSCode, select Remote-SSH: Connect to Host… and after the list populates select
ccv-vscode-node
VSCode Remote-SSH connect to host dialog 
When prompted in VSCode, please enter your Brown password and complete the DUO authentication. After that, wait about 30 seconds and VSCode should connect to Oscar.

Last updated
Was this helpful?