Scroll to navigation

LSH(1) Lsh Manuals LSH(1)

NAME

lsh - secsh (SSH2) client

SYNOPSIS

lsh [OPTION...] HOST [COMMAND]

DESCRIPTION

CAUTION! The information in this manpage may be invalid or outdated. For authorative information on lsh, please see it's Texinfo manual (see the SEE ALSO section).

Connects to the the remote machine HOST, and perform one or more actions, i.e. command execution, various forwarding services. The default action is to start a remote interactive shell or execute a given command on the remote machine.

OPTIONS

When a new hostkey is received, append an ACL expressing trust in the key. In sloppy mode, the default is ~/.lsh/captured_keys.
Enable DH support (default, unless SRP is being used).
By default, ~/.lsh/host-acls
Use this key to authenticate.
Disable DH support.
Don't try publickey user authentication.
Disable experimental SRP support (default).
Try publickey user authentication (default).
Allow untrusted hostkeys.
Enable experimental SRP support.
Never, never, ever trust an unknown hostkey. (default)
Print huge amounts of debug information
Append messages to this file.
Suppress all warnings and diagnostic messages
Detailed trace
Verbose diagnostic messages

-c, --crypto=Algorithm

--hostkey-algorithm=Algorithm

List supported algorithms.

-m, --mac=Algorithm

Default is zlib.
Program to use for reading passwords. Should be an absolute filename.
Login as this user.
Connect to this port.
Put process into the background. Implies -N.

-D, --forward-socks[=port] Enable socks dynamic forwarding

Execute a command on the remote machine

-L, --forward-local-port=local-port:target-host:target-port

No operation (suppresses the default action, which is to spawn a remote shell)
Connect to given subsystem. Implies --no-pty.
Spawn a remote shell
Inverts the effect of the next modifier
Allow remote access to forwarded ports
Disallow remote access to forwarded ports (default).
Detach from terminal at session end.
Do not detach session at end, wait for all open channels (default).
Don't request a remote pty.
Redirect stderr to /dev/null
Redirect stdin from /dev/null
Redirect stdout to /dev/null
Redirect stderr
Redirect stdin
Redirect stdout
Request a remote pty (default).
Escape char. `none' means disable. Default is to use `~' if we have a tty, otherwise none.
Make -B write the pid of the backgrounded process to stdout.
Setup a local gateway

-R, --forward-remote-port=remote-port:target-host:target-port

Disable X11 forwarding (default).
Enable X11 forwarding.
-?, --help
Give this help list
Give a short usage message
Print program version

FILES

$HOME/.lsh/captured_keys

is the default file used for storing keys captured when connecting to hosts with keys not previously accepted (see the --capture-to option).

$HOME/.lsh/host_acls

is the default file containing accepted keys (see the --host-db option).

$HOME/.lsh/identity

is the key file lsh attempts to use by default (see the --identity option).

DIAGNOSTICS

See the --verbose , --trace and --debug options.

REPORTING BUGS

Report bugs to <bug-lsh@gnu.org>.

ENVIRONMENT

LSH_YARROW_SEED_FILE may be used to specify the random seed file.

LSHFLAGS may be used for passing additional parameters. The parsing order is undefined.

COPYING

The lsh suite of programs is distributed under the GNU General Public License; see the COPYING and AUTHORS files in the source distribution for details.

AUTHOR

The lsh program suite is written mainly by Niels Möller <nisse@lysator.liu.se>.

This man-page was originally written by J.H.M. Dassen (Ray) <jdassen@wi.LeidenUniv.nl>. It was modified and updated for lsh 2.0 by Pontus Freyhult <pont_lsh@soua.net>

SEE ALSO

lsftp(1), lshg(1), lsh-authorize(1), lsh-keygen(1), lsh-make-seed(1), lsh-upgrade(1), lsh-upgrade-key(1), lsh-writekey(1), lshd(8), ssh-conv(1)

The full documentation for lsh is maintained as a Texinfo manual. If the info and lsh programs are properly installed at your site, the command

info lsh

should give you access to the complete manual.

NOVEMBER 2004 LSH