lsh - secsh (SSH2) client
lsh [OPTION...] HOST [COMMAND]
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.
--capture-to=File When a new hostkey is received, append an ACL expressing trust in the key. In sloppy mode, the default is ~/.lsh/captured_keys. --dh-keyexchange Enable DH support (default, unless SRP is being used). --host-db=Filename By default, ~/.lsh/host-acls -i, --identity=Identity key Use this key to authenticate. --no-dh-keyexchange Disable DH support. --no-publickey Don't try publickey user authentication. --no-srp-keyexchange Disable experimental SRP support (default). --publickey Try publickey user authentication (default). --sloppy-host-authentication Allow untrusted hostkeys. --srp-keyexchange Enable experimental SRP support. --strict-host-authentication Never, never, ever trust an unknown hostkey. (default) --debug Print huge amounts of debug information --log-file=File name Append messages to this file. -q, --quiet Suppress all warnings and diagnostic messages --trace Detailed trace -v, --verbose Verbose diagnostic messages Algorithm selection: -c, --crypto=Algorithm --hostkey-algorithm=Algorithm --list-algorithms List supported algorithms. -m, --mac=Algorithm -z, --compression[=Algorithm] Default is zlib. --askpass=Program Program to use for reading passwords. Should be an absolute filename. -l, --user=User name Login as this user. -p, --port=Port Connect to this port. Actions: -B, --background Put process into the background. Implies -N. -D, --forward-socks[=port] Enable socks dynamic forwarding -E, --execute=command Execute a command on the remote machine -L, --forward-local-port=local-port:target-host:target-port -N, --nop No operation (suppresses the default action, which is to spawn a remote shell) --subsystem=subsystem-name Connect to given subsystem. Implies --no-pty. -S, --shell=command Spawn a remote shell Universal not: -n, --no Inverts the effect of the next modifier Modifiers that apply to port forwarding: -g, --remote-peers Allow remote access to forwarded ports --no-remote-peers Disallow remote access to forwarded ports (default). Modifiers that apply to remote execution: --detach Detach from terminal at session end. --no-detach Do not detach session at end, wait for all open channels (default). --no-pty Don't request a remote pty. --no-stderr Redirect stderr to /dev/null --no-stdin Redirect stdin from /dev/null --no-stdout Redirect stdout to /dev/null --stderr=Filename Redirect stderr --stdin=Filename Redirect stdin --stdout=Filename Redirect stdout -t, --pty Request a remote pty (default). Miscellaneous options: -e, --escape-char=Character Escape char. `none' means disable. Default is to use `~' if we have a tty, otherwise none. --write-pid Make -B write the pid of the backgrounded process to stdout. -G, --gateway Setup a local gateway -R, --forward-remote-port=remote-port:target-host:target-port --no-x11-forward Disable X11 forwarding (default). -x, --x11-forward Enable X11 forwarding. -?, --help Give this help list --usage Give a short usage message -V, --version Print program version
$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).
See the --verbose , --trace and --debug options.
Report bugs to <bug-lsh@gnu.org>.
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.
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.
The lsh program suite is written mainly by Niels Mller <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>
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.
Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.
Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.
Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.
Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.
The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.
Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.
Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.
Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.