Setting up SSH on Windows
Using SSH on Windows with MFA
Both PuTTY and SecureCRT can be used for connecting to CSAIL Linux hosts without passwords. Kerberos tickets allow passwordless logins
Prerequisites
- Setup CSAIL DUO
Sign in to https://duo.csail.mit.edu/ and configure your preferences. - Install VPN
Using the jump host on Windows is more complicated then on Linux, or MacOS. Therefore, if you need to SSH to a CSAIL system from outside the CSAIL network, you will need to install and use the MIT VPN. Inbound SSH connections to the public login server login.csail.mit.edu remain open. - Setup Kerberos for Windows
For secure, password-less SSH login to CSAIL systems, please first setup Kerberos for Windows
PuTTY
For PuTTY, v.0.61 or later, create a Saved Session with CSAIL-specific settings.
The example below will use our public login server as the host, but you can ssubstitute the CSAIL host of your choice.
In PuTTY Configuration
- In Session, set Host Name to login.csail.mit.edu and use
csail loginas the session name under “Saved Settings” - Connection -> SSH -> Auth -> GSSAPI, set “Allow GSSAPI credential delegation” to
YES - In Connection -> Data, set “Auto-login username” to your CSAIL username
- Click “Save”
To use
- Connect to the MIT VPN if off campus. Inbound SSH connections to the public login server login.csail.mit.edu remain open.
- Get Kerberos Tickets
- Click
csail loginand Load.
SecureCRT
Install SecureCRT
The example below will use our public login server as the host, but you can ssubstitute the CSAIL host of your choice.
Create a New Session
- Connect to the MIT VPN if off campus
- Get Kerberos Tickets
- Open SecureCRT. The quick connect dialog box will open
- Hostname: Enter
login.csail.mit.edu- Port:
22(default) - Firewall:
None(default) - Username: Enter your CSAIL username (do not include
@csail.mit.edu).
- Port:
- Under Authentication select the following in order
Keyboard IneractiveGSSAPI
- Session Name: Enter a name like
CSAIL Loginorlogin.csail.mit.edu. - Click Connect.
- If you get a New Host Key prompt, click Accept & Save
Connecting a session
- Connect to the MIT VPN if off campus
- Get Kerberos Tickets
- After you create a new session above, your settings will save in a session with the name you saved.
- Click File, Connect, open your saved session


