Axssh - secure login with linemode and Ssh

Copyright 1996-2000, Jrg Reuter DL1BKE <jreuter@yaina.de>

Needs OpenSSH (prefered) or the ssh (Secure SHell) package (available i
from most mirrors of ftp.cs.helsinki.fi). Note that amateur radio 
legislation in your country may limit the use of this program to system 
administration or forbid it at all as ssh uses (strong) encryption.

NOTE: This program is a hack. Don't expect too much from the linemode
      editing facility. Anything better would require ncurses and
      a terminal emulation...

INSTALL
=======

1.	Get and install OpenSSH. Please read the documentation!
2.	OpenSSH needs a patch to re-enable the "none" encryption
        (i.e. no encryption at all)
3.	You probably need to adjust SSH_PATH in the Makefile 
4.	Type "make" to compile
5.	Type "make install" to install

This version of axssh slightly differs from previous ones
(no, I haven't implemented the missing features yet), see
below for examples how to use it, here's the basic idea:

You can pass axssh the same arguments as ssh after a '--' delimiter
on the command line, it automatically disables encryption on
non-root logins and enables compression ("-C" option). You can
force it to use encryption for user logins as well (at least
with openssh), but please note that this conflicts with Amateur
Radio regulations almost everywhere. 

You might wish to add a "stty -echo" into remote's .profile.

A patch to enable 'none' encryption for OpenSSH is available from
http://ftp.ccac.rwth-aachen.de/pub/jr

USAGE
=====

axssh [-l login] hostname [-- [ssh options] [program]]
axssh login@hostname [-- [ssh options] [program]]

Examples:

axssh db0xxx.ampr.org
	Login as local user on db0xxx.ampr.org, use encryption if
	run as root, disable encryption otherwise.

axssh -l root db0xxx.ampr.org
	Login as root on db0xxx.ampr.org, encrypted communication

axssh root@db0xxx.ampr.org -- -c none
	Login as root, no encryption

axssh -l dl1bke db0xxx.ampr.org
	Login as "dl1bke", no encryption

axssh dl1bke@db0xxx.ampr.org -- -c blowfish /bin/date
	Login as "dl1bke", use "blowfish" encryption (probably
	illegal on hamradio in your country!) and run "date"


TODO
====

1. use ncurses
2. command scroll back

-------------------------------------------------------------------------

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
                
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
