Copyright 1997, 1998 Tadayoshi Kohno (kohno@cs.colorado.edu)
All Rights Reserved.
See the LICENSE file.

How to Install libSSH under Unix machines:

	1: Getting and compiling SSLeay

	   The SSLeay library is responsible for all the cryptographic
	   routines used by libSSH.  It is available at
	   ftp://ftp.psy.uq.oz.au/pub/Crypto/SSL .  This version of
	   libSSH has been tested with SSLeay-0.8.1

	   Follow SSLeay's included instructions to make and install
	   SSLeay on your platform.

	2: Getting and compiling the ZLIB compression library

	   Documentation for ZLIB is available at
	   http://www.cdrom.com/pub/infozip/zlib/ .  You can also
	   get the source from ftp://ftp.cdrom.com/pub/infozip/zlib/ .
	   libSSH has been tested with zlib-1.1.2 .

	   Follow ZLIB's included documentation to build and install
	   the zlib library and header files on your system.

	3: Checking libSSH's Makefile

	   The actual libSSH source is in the libssh subdirectory.

	   In the Makefile, make sure the proper OS is defined in
	   the Makefile and the  IFLAGS and LFLAGS variables are
	   set to the location of the SSLeay and ZLIB include files
	   and libraries.  You need not worry about the ARCH variable,
	   it is only used for internal development.
	   
	   Make sure INSTALLTOP is set to the top of where you
	   would like to install libSSH (libssh.a will go to
	   $(INSTALLTOP)/lib, ...)

	   [This step will eventually be replaced with a ./configure
	   script]
	   		
	4: Making libSSH

	   To compile libSSH, run "make"

	   "make install" will install libssh.a and the header
	   files.  [If you don't actually want to install libSSH
	   but just built it for use with a specific application,
	   you can point that application to look for libraries
	   and include files in the libssh source directory.]
	   

	5: Building a sample client

	   A sample (*very* rough) SSH client is available in
	   the unix_ssh subdirectory.  It is very sketchy and actually
	   a bit outdated (it will be touched-up before the official
	   release).

	   You should be able to build it following the same steps as
	   outlined for libSSH.  There have been some problems with
	   select() on Solaris machines that have not been fixed.

	6: Using libSSH in an application

	   Please see the DOCUMENTATION file.

	7: Problems

	   If you have problems, you might take a look at
	   ssh_types.h.  Chances are there's a type problem
	   (for example, some SunOS systems don't define a
	   uint16_t type while others do).  If your
	   system is not one of the ones listed, you may need
	   to scrounge around the system include files looking
	   for a uint16_t type or something to typedef to it.
	   
	   Please see the PORTING section of the DOCUMENTATION file

