1. Remote Log In
1.1. On Your Personal Machine, Create a Key
- Download putty.exe from here.
- In the "Host Name (or IP address)" box, enter "ssh.cs.brown.edu".
- In the "Connection type" subsection, make sure "SSH" is selected.
- Select "X11" in the "SSH" section of the Category menu. Check the "Enable X11 forwarding" box.
- Now select "Session" in the "Category" menu to return to the main screen. Type "Brown CS" in the "Saved Sessions" box, and press the "Save" button to store these settings.
1.2. Using PuTTY
- From now on, when you open PuTTY, you should see the "Brown CS" label in the "Saved Sessions" section. Double click on this label.
- PuTTY will ask you to log in. Use your CS login and Brown password
2. X Forwarding
To run programs with GUIs written according to the X display protocol, you either need to use FastX or install an X server. For the latter, we recommend the Windows X server known as MobaXTerm.
2.1. Setting Up FastX
The FastX Guide is available here
2.2. Setting Up MobaXterm
- Download the Portable edition of MobaXterm https://mobaxterm.mobatek.net/download-home-edition.html
- Extract the zipfile to your Desktop and double click the Mobaxterm program to run it
- You should now see the main menu for MobaXterm. Click on the "Session" button on the top right
- It should display a screen prompting for you to "Choose as session type...". Click on SSH on the top right
- In the Remote host box enter: ssh.cs.brown.edu
- Check the Specify username box and enter your cslogin
- Click OK at the bottom of the window and you should be taken to a terminal screen
- Enter your cs password when prompted and click Yes if you'd like for your password to be saved
- You should then be logged into a CS department machine. To run a program with graphics, run it as you normally would from the command line. After a brief delay another window should open with the graphical output of your program.
- To close your session, either simply end the terminal session or exit MobaXterm
3. File Transfer using WinSCP
3.1. Setting Up WinSCP
- Download and open the WinSCP installer here.
- At the "Select Components" screen, uncheck everything except "WinSCP application".
- At the "Select Additional Tasks" screen, make sure you leave "Register to handle sftp:// and scp:// addresses" checked.
- Install.
- Open WinSCP.
- In the "Host name" box, type "ssh.cs.brown.edu". In the "User name" box, enter your CS login. Leave "Password" box blank. Make sure the File protocol subsection is SFTP.
3.2. Using WinSCP
- From now on, when you open WinSCP, you should see a "yourlogin@ssh.cs.brown.edu" label in the "Stored Sessions" section. Double-click on this label.
- Enter your Brown password.
- A WinSCP interface should open. The left side of the screen represents your computer, the right side represents the CS filesystem. You can navigate both, and drag and drop files between them as necessary.