[ComputingHome] [TitleIndex] [WordIndex

Linux Logins and File Transfers

Logins are required for terminal sessions or file transfers.

1. Accounts and Login Hosts

Logins require a Sociology Linux account. The three hosts listed below are available for login from anywhere. A login to any of these hosts always takes you to your Linux home directory.

2. SSH Logins

Logins require use of SSH (Secure Shell) connections from your client PC to the Linux server host. SSH connections are encrypted and quite secure. SSH is a native facility on Mac and Linux desktops. Windows users must install an SSH client, although this is changing as Windows is now adding a version of OpenSSH to its distribution. [Details on this to be added at a later date.]

OIT used to provide commercial SSH options, but now only recommends the open source PuTTY SSH Client software for this purpose. It installs an SSH client that provides a terminal function.

Terminal logins provide a command line prompt. User commands are parsed and executed by an underlying shell program running on the Linux host. The shell is a rich command environment that can be customized and extended through user-written scripts. Typical use of the prompt is to launch an application.

3. SSH File transfers

File transfer sessions are based on the Secure File Transfer Protocal (SFTP), which is part of the SSH protocol. SFTP sets up an encrypted network connection between your PC and a Linux host. This is typically represented by a graphical, split-screen interface, with browseable local [PC] and remote [Linux] directory structures. Drag and drop file transfers are performed between your desktop and the Linux host.

4. Linux Graphics Display Facility

SSH when used under Windows and OS X cannot display graphical output (such as an interactive SAS or Stata session) from a Linux host. This requires a separate facility called a PC X server, to which SSH can hand off graphical output. X servers not currently native to Windows or OS X.

Windows

For Windows use, OIT licenses a commercial product called X-Win32.

There are several important X-Win32 considerations:

OS X

5. Login Specifics

When logging in from a Windows PC:

  1. Preload X-Win32.
  2. Load your SSH application.
  3. Select the connect option.
  4. Specify the desired host.
  5. Enter your userid and password to complete the login.

When logging in from a Mac or Linux PC:

  1. Open a terminal window.
  2. In the unlikely event that your OS X login ID is the same as your Sociology userid, specify at the terminal prompt: ssh -X <hostname>

    • where <hostname> is from the list above

  3. More typically your OS X login ID differs from your Sociology userid, so specify at the terminal prompt: ssh -X <userid>@<hostname>

    • where <userid> is your Linux userid and <hostname> is from the list above

The -X permits forwarding of graphics to the X-server on your local machine. Omit this parameter when graphics are unneeded.


Computing Home | Sociology Home | Trinity College Home | Duke Home


2020-08-31 15:19