Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 1.57 KB

from-non-compliant-networks-2-fa.md

File metadata and controls

44 lines (30 loc) · 1.57 KB
description
Accessing VSCode from Non-Brown compliant networks

From Non-compliant Networks (2-FA)

{% hint style="info" %} This guide is only for users connecting from Non-Brown Compliant Networks. 2-FA is mandatory. {% endhint %}

  1. Install the Remote Development extension pack for VSCode
  2. Open VSCode settings
  • On Windows/Linux - File > Preferences > Settings
  • On macOS - Code > Preferences > Settings

Search for symlink and make sure the symlink searching is unchecked

3. Under VSCode settings, search for remote ssh timeout and manually enter a timeout value i.e. 50s. It should give you enough time to complete 2-Factor Authentication.

4. Edit the ~/.ssh/config file on your local machine, add the following lines. Replace <username> with your Oscar username.

# Jump box with public IP address
Host jump-box
  HostName ssh8.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-box

6. In VSCode, select Remote-SSH: Connect to Host… and after the list populates select login-node