OnWorks favicon

lsh - Online in the Cloud

Run lsh in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command lsh that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



lsh - secsh (SSH2) client




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.


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

-i, --identity=Identity key
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

--log-file=File name
Append messages to this file.

-q, --quiet
Suppress all warnings and diagnostic messages

Detailed trace

-v, --verbose
Verbose diagnostic messages

Algorithm selection:

-c, --crypto=Algorithm


List supported algorithms.

-m, --mac=Algorithm

-z, --compression[=Algorithm]
Default is zlib.

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.


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

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

Disallow remote access to forwarded ports (default).

Modifiers that apply to remote execution:

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

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

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

Disable X11 forwarding (default).

-x, --x11-forward
Enable X11 forwarding.

-?, --help
Give this help list

Give a short usage message

-V, --version
Print program version

Use lsh online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    LAME (Lame Aint an MP3 Encoder)
    LAME (Lame Aint an MP3 Encoder)
    LAME is an educational tool to be used
    for learning about MP3 encoding. The
    goal of the LAME project is to improve
    the psycho acoustics, quality and speed
    of MP...
    Download LAME (Lame Aint an MP3 Encoder)
  • 2
    A set of Python extension modules that
    wrap the cross-platform GUI classes from
    wxWidgets.. Audience: Developers. User
    interface: X Window System (X11), Win32 ...
    Download wxPython
  • 3
    This is the Total War pack file manager
    project, starting from version 1.7. A
    short introduction into Warscape
    modding: ...
    Download packfilemanager
  • 4
    A network traffic tool for measuring
    TCP and UDP performance with metrics
    around both throughput and latency. The
    goals include maintaining an active
    iperf cod...
    Download IPerf2
  • 5
    fre:ac - free audio converter
    fre:ac - free audio converter
    fre:ac is a free audio converter and CD
    ripper for various formats and encoders.
    It features MP3, MP4/M4A, WMA, Ogg
    Vorbis, FLAC, AAC, and Bonk format
    support, ...
    Download fre:ac - free audio converter
  • 6
    Matplotlib is a comprehensive library
    for creating static, animated, and
    interactive visualizations in Python.
    Matplotlib makes easy things easy and
    hard thing...
    Download Matplotlib
  • 7
    Write your chatbot logic once and
    connect it to one of the available
    messaging services, including Amazon
    Alexa, Facebook Messenger, Slack,
    Telegram or even yo...
    Download BotMan
  • More »

Linux commands