Home

Londo access

You are free to use a server on Stetson campus known as “londo” for writing and submitting code. I will test your code on this server; if your code does not compile and run on londo, it will receive no credit.

You can access londo on-campus using just Putty or SSH, or off-campus using a VPN and Putty or SSH. Instructions are shown below for Windows and Mac systems.

For future reference, londo’s address is londo.stetson.edu

Console access

Most of your work with londo will use console access. For Windows, I recommend you use Putty. For Mac, you can use the builtin SSH tool.

Windows

Putty is already installed on the school machines. Download Putty for your own machine if you wish (choose “putty.exe” link).

Launch Putty:

Putty

Type in londo’s address:

Putty

The first time you connect, you will be asked if you trust the machine you are connecting to. Say “Yes.”

Putty

Type your username and password:

Putty

The first time you connect, run: tmux. Every time you reconnect (for the rest of the semester), run tmux attach instead.

Putty

Now you are just where you left off from your last connection:

Putty

When you are done, just close the Putty window.

Mac

Start the Terminal app and run ssh username@londo.stetson.edu where “username” is your username.

The first time you connect, you will be asked if you trust the machine you are connecting to. Type “yes”, and then type your password.

Terminal

The first time you connect, run: tmux. Every time you reconnect (for the rest of the semester), run tmux attach instead.

Terminal

Now you are just where you left off from your last connection:

Terminal

When you are done, just close the Terminal window.

File transfer

You can write your files on your machine or on londo itself (in the console). If you write on your machine, you’ll need to transfer files to londo. You may also wish to copy files out of londo for backup purposes.

Windows

Use FileZilla on Windows to transfer files to/from londo. Start FileZilla:

FileZilla

Type in the host (londo’s address), your username and password, and port “22”, and click “Quickconnect”:

FileZilla

Find your local files on the left, and londo files on the right. Drag files back and forth to copy to/from londo:

FileZilla

Mac

Use Cyberduck on Mac to transfer files to/from londo. Use this address in the “Quick Connect” box (change the username):

sftp://jeckroth@londo.stetson.edu

Cyberduck

The window will show londo files. Find your files in the window and drag/drop with the Finder on your Mac:

Cyberduck

Off-campus VPN

If you are off campus, you cannot connect to londo with Putty/SSH until you first connect to the VPN.

Download FortiClient. Configure it as an SSL VPN, IP address 147.253.200.11, port 443, and your Stetson username (e.g., jeckroth or dplante) and Stetson password (not londo password!).

FortiClient VPN

tmux

Whenever I use londo or other servers, I use tmux (“terminal multiplexer”). tmux allows me to quit Putty or the Terminal and come back later without disrupting what I was doing.

If you have never started tmux, then you’ll need to run the tmux command after connecting to londo. If you already have tmux running (or at least you think you might), run tmux attach instead after connecting.

Once inside tmux, you can do some fancy “window” operations:

  • Ctrl-b c – create a new window (windows are listed at the bottom of the screen)
  • Ctrl-b n – switch to “next” window
  • Ctrl-b p – switch to “previous” window
  • Ctrl-b [ – freeze the window and scroll up/down with arrow keys or page-up/page-down; use q or Escape to unfreeze

You can also split a window into “panes”:

  • Ctrl-b % – split the window vertically
  • Ctrl-b " – split the window horizontally
  • Ctrl-b o – switch to the other pane

Type “exit” in the console to close a window or pane.

CSCI 221 material by Joshua Eckroth is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License. Source code for this website available at GitHub.