Scroll to navigation

LSHD(8) Lsh Manuals LSHD(8)

NAME

lshd - secsh (SSH2) server

SYNOPSIS

lshd [OPTION...]

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).

lshd is a server for the SSH-2 (secsh) protocol.

OPTIONS

Location of the server's private key.
Listen on this network interface.
Listen on this port.
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.
Banner file to send before handshake.
Enable DH support (default).
Disable DH support.
Disable experimental SRP support (default).
Enable experimental SRP support.
Recognize kerberos passwords, using the helper program "/usr/local/sbin/lsh-krb-checkpw". This option is experimental.
Enable a telnet like mode (accept none-authentication and launch thelogin-shell, making it responsible for authenticating the user).
Use this program as the login shell for all users. (Experimental)
Don't recognize kerberos passwords (default behaviour).
Disable login-auth-mode (default).
Disable password user authentication.
Disable publickey user authentication.
Don't allow root to login (default).
Enable password user authentication (default).
Use the named helper program for password verification. (Experimental).
Enable publickey user authentication (default).
Allow root to login.
Disable pty allocation.
Disable tcpip forwarding.
Disable x11 forwarding.
Enable pty allocation (default).
For example `sftp=/usr/sbin/sftp-server,foosystem=/usr/bin/foo' (experimental).
Enable tcpip forwarding (default).
Enable x11 forwarding (default).
Run in the background, redirect stdio to /dev/null, and chdir to /.
Dump core on fatal errors (disabled by default).
Run in the foreground, with messages to stderr (default).
Don't use any pid file. Default in non-daemonic mode.
Don't use syslog (by default, syslog is used when running in daemonic mode).
Create a pid file. When running in daemonic mode, the default is /var/run/lshd.pid.
-?, --help
Give this help list
Give a short usage message
Print program version

Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options.

FILES

lshd doesn't use any traditional configuration file, but must have a random seed file and the server key. By default

/var/spool/lsh/yarrow-seed-file

is used as random seed file (see ENVIRONMENT for changing this) and

/etc/lsh_host_key

is the default key file.

/var/run/lshd.pid

is used to store the process id of the server by default.

Authorized keys are stored in the directory

$HOME/.lsh/authorized_keys_sha1/

DIAGNOSTICS

Log messages are normally sent to syslog(3) when running in daemonic mode.

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.

lshd mimics OpenSSH behaviour with respect to SSH_CLIENT and SSH_TTY for processes it starts where applicable.

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), lsh(1), lsh-authorize(1), lsh-keygen(1), lsh-make-seed(1), lsh-upgrade(1), lsh-upgrade-key(1), lsh-writekey(1), secsh(5), sftp-server(8), syslogd(8)

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 LSHD