This page describes how to access the CS department's Linux machines remotely, i.e., how to use them if you are not sitting in front of them. For more about various options, or if anything described here doesn't work, see the section Questions below.
The department maintains a number of computers that are accessible to anyone with an account on our system(s). Such machines include:
To connect:
ssh remoteMachine
ssh username@remoteMachine.cs.trinity.eduwhere username is your username on the department machines.
The man page for ssh has complete information. Normally ssh will prompt you for a password; you can find instructions for setting up access using keys instead in my notes on passwordless login.
Once you've logged in, you can execute any text-based program (ls, vi, etc.). Depending on how your local machine is set up, you may also be able to run programs that need a graphical environment (firefox, gvim, etc.). If you have trouble, first try re-executing the ssh command with the -Y option and then ask for help if it doesn't work. Also note that running graphical-environment programs over a network is apt to be slow.
What you need is a “terminal emulator” that can connect via SSH to a remote machine. You have some options:
It should be installed on all ITS-managed Windows machines on campus, including the department's Windows machines. (The icon is labeled PuTTY and shows a picture of two computers with something connecting them.)
If you want to install it on your own computer, it's free and available at http://www.9bis.net/kitty.
To use this program, start it up, make sure the SSH radio button is selected (probably on by default), type the name of the machine you want to access into the “Host name or IP address” box, and click “Open”. You should then get a terminal window prompting you for your (Linux) username and password. You may get an alarming message about possible security problems the first time you to try to access a remote machine and asking if you want to continue. You do.
By default, what you get is a text-only window. If you want to run programs that require a graphical environment, you need to do two things:
Supposedly if you install enough of Cygwin you will be able to log in with support for a graphical environment. (I have not tested this!)
For Mac OS X, starting the Terminal application gives you something very like a Linux terminal window, from which you can connect using the command in section (Logging in) From another UNIX/Linux system. Running programs that need a graphical environment may or may not work; you may need to install additional packages.
Options here include:
scp remoteMachine:/fullpath/*.txt .transfers a group of files matching the wildcard from remoteMachine to the current directory. The man page has more details and options.
sftp username@remoteMachineOnce the connection is open, you can move around in the local or remote directories and transfer one or more files. Use command exit or control-D to end the connection. Command help lists available commands; some that are useful:
Tools that allow you to log in remotely typically come packaged with something for file transfer:
The commands in section (Transferring files) From another UNIX/Linux system (command line). should work in a Terminal window.
If you want a program with a GUI, there are many options; the term to search for is probably “SFTP client”. We plan to install FileZilla on the department computers for fall 2019; we chose it because versions are available for Windows, Linux, and Mac OS X.
All of the above assumes that you are trying to log in from a computer inside the Trinity domain. For security reasons, ITS disallows direct access to most machines from outside this domain. There are two mechanisms for getting access from off-campus:
To use it, point a Web browser at https://vdi.trinity.edu and follow the prompts.
You should at some point be given a choice between “installing a client” and using an HTML interface. The HTML interface should work in any supported browser and is fine for occasional use. If you do this often, however, consider installing a client: Clients are available for several operating systems; they offer additional features (such as USB connections) and are apt to be faster.
For more information, go to ITS's Service Catalog: There's a short text explanation and a link to a video with screenshots, plus information about connecting from different kinds of devices and about installing clients. (For Windows, note that you should not select the Windows 10 UWP version.)
For more information about anything described in this document, or if something doesn't work, you should probably start by talking to your instructor or research supervisor; if he or she can't help, communicate with the department's ITS liaison and occasional Linux admin Dr. Massingill (bmassing@trinity.edu).