Difference between revisions of "Secure Shell"

From Wiki | LUG@UCLA
Jump to: navigation, search
Line 26: Line 26:
scp from local to server:
scp from local to server:
   $ scp ~/Documents/'''lug.jpg''' user@linux.ucla.edu:~/
   $ scp ~/Documents/'''lug.jpg''' user@linux.ucla.edu:~/

Revision as of 07:20, 4 June 2013

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.


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 ...

From the GUI

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

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