Connecting via SSH
This simplest way to connect to the NYU remote server is via SSH. You need to be on the NYU network or connected via VPN. Then use the following settings:
- Host: any of
ecs02.poly.eduthroughecs06.poly.edu - Username: your NetID
- Port: 22
You can connect using any SSH client. Below are the recommended options depending on your operating system.
Windows: MobaXterm
MobaXterm is an excellent GUI SSH client for Windows.
- Create a new SSH session using the settings above.
- Log in with your NetID and password.
- You will get:
- A terminal connected to the remote machine
- A remote file explorer panel on the left
You can drag and drop files between your local machine and the remote server. This is the easiest and most reliable method for Windows users, especially because Windows PowerShell’s scp does not work with the NYU EDA servers due to server‑side banner output.
macOS Terminal or Windows PowerShell
You can always log in from a terminal using:
ssh <netid>@ecs02.poly.edu
You may choose any of ecs02 through ecs06.
macOS users
macOS includes a robust OpenSSH implementation, so you can also use scp to copy files:
scp <netid>@ecs02.poly.edu:/home/<netid>/submission.py .
This downloads submission.py into your current local directory.
Windows users
This will not work in Windows PowerShell because the NYU servers print a banner message that breaks PowerShell’s scp. Windows users should use MobaXterm or VS Code Remote‑SSH instead.
VS Code Remote‑SSH (macOS, Windows, Linux)
If you use VS Code, the Remote – SSH extension provides a full development environment on the remote machine.
Setup
- Install the Remote – SSH extension in VS Code.
- Open the Remote Explorer panel (icon on the left sidebar).
- Under SSH Targets, click the + to add a new host.
- Enter:
ssh <netid>@ecs02.poly.edu - Choose your user SSH config file when prompted
- Windows:
C:\Users\<username>\.ssh\config - macOS/Linux:
~/.ssh/config
- Windows:
- Connect to the host and select a folder (typically your home directory).
What you get
- A full VS Code environment running on the remote machine
- A remote terminal
- A remote file explorer
- The ability to download or upload files via right‑click or drag‑and‑drop
- The ability to edit files directly on the remote server with IntelliSense, syntax highlighting, etc.
This is the best option for macOS users and an excellent alternative for Windows users who prefer VS Code over MobaXterm.