Secure Shell

From Wiki | LUG@UCLA
Revision as of 07:23, 4 June 2013 by 75.85.51.131 (Talk)

Jump to: navigation, search

Secure Shell (SSH) is an Internet communication protocol used to exchange data between two computers using a secure channel.

Members can access their LUG account remotely via SSH.

Connecting

Note Note: in the following examples, remember to replace "user" with your actual LUG username.

From the terminal

To initiate a normal SSH session from a remote terminal (e.g. your laptop):

 $ ssh user@linux.ucla.edu

or if you want X forwarding:

 $ ssh -X user@linux.ucla.edu

To transfer files and directories, use "scp <from> <to>".

scp from server to local:

 $ scp user@linux.ucla.edu:~/homework1.txt ~/Documents
 $ ls ~/Documents
 ... homework1.txt ...

scp from local to server:

 $ scp ~/Documents/lug.jpg user@linux.ucla.edu:~/
 $ ssh user@linux.ucla.edu ls ~/
 ... lug.jpg ...

Type man ssh or man scp for more information.

From the GUI

KDE (Linux) GNOME (Linux) Windows Macintosh
  1. open Dolphin
  2. Add Entry to Places panel
    caption
  3. in "Location" enter: fish://user@linux.ucla.edu
    caption
  1. open File Manager
  2. click "Connect to Server"
    caption
  3. enter: sftp://user@linux.ucla.edu
    caption
  4. optionally bookmark the server
    caption
  •  ???

Available software

Operating System

Debian stable

Installed Packages

Name Executable Notes
GCC gcc
Python python
OpenJDK java version 6
OCaml ocaml
GNU Prolog gprolog
Racket racket for programming in Scheme
CLISP clisp for programming in Common Lisp
GNU Octave octave a full-featured alternative to MatLab
LaTeX latex, pdflatex document creation done right
Vim vim the most powerful text editor
GNU Emacs emacs the most powerful text editor
Git git
Mercurial hg