Changes between Version 3 and Version 4 of Remote Logging (Shell Servers)


Ignore:
Timestamp:
04/13/06 13:40:50 (20 years ago)
Author:
cdelarcuz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Remote Logging (Shell Servers)

    v3 v4  
    22= Remote Access =
    33
    4 == SSH (Secure Shell) ==
     4== Secure Shell (SSH) ==
    55To access your workstation remotely, use ssh. A good method of securing
    66your workstation as well as the overall network is to generate a [wiki:"ssh public key authentication" ssh key-pair]
     
    2121Note, if this is your first access to the remote host, then you're unlikely
    2222to have its public key, and hence ssh will inform you of this e.g.
    23 The authenticity of host 'mraos.ra.phy.cam.ac.uk (131.111.48.8)' can't be
     23The authenticity of host 'pirates.phys.columbia.edu (128.59.168.143)' can't be
    2424established.
    2525{{{
     
    3030The public key of the remote host has been added to the file ~/.ssh/known_hosts in your account.
    3131}}}
    32 As a result this message will not be displayed in future ssh connections to this host.
     32As a result, this message will not be displayed in future ssh connections to this host.
    3333As shown in a section above, you can generate your own public key(s)
    3434between your different accounts using ssh-keygen, and overcome the problem
     
    3636public key from the account on one system to the ~/.ssh/authorized_keys file on the other.
    3737Transfering public keys between accounts can simply be done via email, as the public key
    38 (e.g. ~/.ssh/identity.pub for ssh 1 protocol) is just a long line of text, which
    39 can then be extracted from the mail message (make sure to preserve its line length)
    40 and added to the appropriate file.
     38is just a long line of text, which can then be extracted from the
     39mail message (make sure to preserve its line length) and added to the appropriate file.
    4140
    4241== Using sftp ==
     
    5049When sftp is ready to accept commands, it will display a prompt sftp>.
    5150In the sftp manual page there are a complete list of the commands which the user can use:
    52 quit
     51
     52=== quit ===
    5353Quits from the application
    54 cd directory
     54
     55=== cd directory ===
    5556Changes the current remote working directory.
    56 lcd directory
     57
     58=== lcd directory ===
    5759Changes the current local working directory.
    58 ls [ -R ] [ -l ] [ file ... ]
     60
     61=== ls [ -R ] [ -l ] [ file ... ] ===
    5962Lists the names of the files on the remote server.
    60 lls [ -R ] [ -l ] [ file ... ]
     63
     64=== lls [ -R ] [ -l ] [ file ... ] ===
    6165Same as ls, but operates on the local files.
    62 get [ file ... ]
     66
     67=== get [ file ... ] ===
    6368Transfers the specified files from the remote end to the local end.
    6469Directories are recursively copied with their contents.
    65 put [ file ... ]
     70
     71=== put [ file ... ] ===
    6672Transfers the specified files from the local end to the remote end.
    6773Directories are recursively copied with their contents.
    68 mkdir dir (rmdir dir)
    69 Tries to create (destroy) the directory specified in dir.
     74
     75=== mkdir dir (rmdir dir) ===
     76Tries to create (delete) the directory specified in dir.
     77 
    7078e.g. while logged into cass06 get /etc/inet/hosts from cass56:
    7179{{{