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 from anywhere but to do so you must use a tool like 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 (use londo.stetson.edu, not what is shown in the screenshot):

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

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:

You can also split a window into “panes”:

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.