Math Research Support Guide
Honors and Recognition
Electronic Teaching Materials
PuTTY is a lightweight SSH client for Windows.
Use it if you need access to a text console on
(or any other machine where you can login via SSH).
Download from www.chiark.greenend.org.uk/~sgtatham/putty,
or search the Web for PuTTY, in case the URL has changed.
WinSCP is a GUI program for secure connections. Its important feature is a built-in text editor,
capable of editing files on a remote Linux/UNIX system (without wreacking havoc with line endings). Files you
may want to edit are
.procmailrc (mail filtering/forwarding),
.vacation.msg (vacation autoreply message),
web site files in
public_html etc. Download WinSCP from winscp.net.
Choose Explorer interface option while installing. Upon connection, navigate to folder/file of interest,
right-click on it, choose Edit, make necessary changes, Save (floppy disk icon).
Cygwin is a UNIX-like environment for Windows. It provides an impressive range of traditional open source GNU software: from cat, cp, tar and rsync to compilers, PERL, TeX/LaTeX and X Window graphical system. Cygwin comes with a GUI setup.exe utility, which lets you select what packages should be installed (or added later). SSH is provided in 'openssh' package. Cygwin home.
Filezilla is a GUI program for secure file transfers.
Download from filezilla-project.org, install
and lauch the program. Choose File → Site Manager → New Site. Configure SFTP connection to
Servertype: SFTP - SSH File Transfer Protocol
Logontype: Ask for password
User: your username on gauss
Click OK to save configuration or Connect to save and connect at once.
Search for VPN on Dartmouth website.
- Download executable OpenVPN Windows Installer from openvpn.net → Community → Downloads.
- Start downloaded installer and proceed accepting all the defaults.
- Download DigiCert root certificate DigiCertCAroot.pem.
- Download Math VPN configuration file mathvpn.ovpn
- Move DigiCertCAroot.pem and mathvpn.ovpn to “C:\Program Files\OpenVPN\config” folder.
- Start OpenVPN GUI by right-clicking on Applications → OpenVPN → OpenVPN GUI and choosing Run as administrator.
- Right-click on the red OpenVPN-GUI icon in your taskbar and choose Connect. You will be prompted for username and password — use your Math (“gauss”) username and password. If Math VPN has been successfully created, red icon will turn into green.
- You can check whether your PC is indeed using the MathVPN by going to, for example, http://www.whatismyip.com. Your IP address should be reported as 188.8.131.52.
- To stop using VPN, right-click on the taskbar icon and select Disconnect.
If you have Math Dept. user account (also known as “gauss” account), you also have a corresponding email account.
Your Math email arrives at (and can be sent from)
math.dartmouth.edu server. It can be accessed
instantly and globally via Webmail — this does not require any configuration! As for email applications, all of them, including mobile,
can be configured to use your Math account using these generic settings:
- Incoming server: math.dartmouth.edu, type: IMAP, port: 143
- Connection type/encryption: TLS
- Username: your Math username
- Password: for the username above
- Outgoing/SMTP server: math.dartmouth.edu, port: 587, protocol: STARTTLS; authenticate with Math username and password
Below are step-by-step instructions on how to add your email@example.com account to Thunderbird and Outlook.
Account Settings… →
Account Actions →
Add Mail Account…
Your name: Your real name
Email address: firstname.lastname@example.org
Password: password for the above
Continue — Thunderbird will probe servers and should detect correct connection settings:
Incoming: math.dartmouth.edu IMAP 143 STARTTLS Outgoing: math.dartmouth.edu SMTP 587 STARTTLSIf settings were detected correctly — click Create Account.
Otherwise click Manual Setup and enter correct settings under Server Settings and Outgoing Server (SMTP).
Server Settings: Advanced: IMAP server directory: mail
Composition & Addressing: Uncheck “Compose messages in HTML format”.
- Start WinSCP. Connect to
gaussusing Math username and password.
- Edit autoreply message text:
.vacation.msg(viewing hidden files must be enabled, Ctrl+Alt+h)
- Right-click on it, choose Edit, make any changes, save, close editor window.
- Right-click on it, choose Edit, find these two lines:
- Remove any leading
#characters from both lines, save, close editor window.
.procmailrcand comment out the two lines by putting back
#characters at the beginning of each line.
Backing up Your FilesAsk Laurie Johnson in 102B about backing up your Mac or Windows.
Making X Connections to Linux MachinesWe recommend using Cygwin/X. Cygwin installer can be downloaded from cygwin.com. After installation is complete, run Cygwin Terminal and then start X by giving a
startxwincommand. Wait for the (green) “X Applications” icon to appear on your Windows taskbar. The icon gives access to Cygwin/X apps and settings. If the application you are seeking is not listed, you still might be able to run it by first starting XTerm and the running your app from there by typing its name. To run an X application on a remote Linux machine, e.g. gauss, while in XTerm type:
ssh -X username@gauss program_name
If you really want to view PostScript files on Windows, then you will have to install Ghostscript and Ghostview. The main site is here.