Monash University Earth Sciences
 

SSH (secure shell)

Ssh provides and encrypted connection to log into a host.

It also controls xauthority stuff when connection from unix machine running X to another X capable client.


Packages

Under linux, following rpm's are required (for mandrake8.0).
  • openssh-2.9p1-3.1mdk
  • openssh-server-2.9p1-3.1mdk
  • openssh-clients-2.9p1-3.1mdk
  • openssl-0.9.6-7mdk

Hosts

All unix machines should run ssh.

Files

  • /etc/ssh/*
    Configuration files for ssh.
  • ~/.ssh/known_hosts
    Stores host keys of machines used.
  • ~/.ssh/authoriezed_keys
    Place host keys here to allow loging without password or to start certain jobs when these keys are used.

Configuration

/etc/ssh/host_key and /etc/ssh/host_key.pub contain the systems secrety host keys (and the public versions). Try to not change these because any changes from the users known_host file will create a 'possible man in the middle' warning.

Problems...?

You must be root to do the following.
  • sh /etc/rc.d/init.d/named status
  • sh /etc/rc.d/init.d/named stop
  • sh /etc/rc.d/init.d/named start

Checking...

You can check an ssh server from a client with:
  • ssh -v server
    which which show you what ssh is doing in talking to the server.
Copyright 1994-2000 Monash University Dept. of Earth Sciences
Back to the Earth Sciences home page...Back to the Monash home page... Disclaimers and Copyright information...