EnglishFrenchSpanish

OnWorks favicon

lshg - Online in the Cloud

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

This is the command lshg 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

PROGRAM:

NAME


lshg - secsh (SSH2) client

SYNOPSIS


lshg [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 through a previously established lsh gateway 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


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

--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 If no usable gateway is found, launch lsh instead.

--send-debug=Message
Send a debug message to the remote machine.

--send-ignore=Message
Send an ignore message to the remote machine.

-?, --help
Give this help list

--usage
Give a short usage message

-V, --version
Print program version

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

DIAGNOSTICS


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

EXAMPLES


Using the -G option, for example in LSHGFLAGS it's easy to use an existing gateway if
there is any and connect using lsh if not.

REPORTING BUGS


Report bugs to <[email protected]>.

ENVIRONMENT


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

Use lshg online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Psi
    Psi
    Psi is cross-platform powerful XMPP
    client designed for experienced users.
    There are builds available for MS
    Windows, GNU/Linux and macOS.. Audience:
    End Users...
    Download Psi
  • 2
    Blobby Volley 2
    Blobby Volley 2
    Official continuation of the famous
    Blobby Volley 1.x arcade game..
    Audience: End Users/Desktop. User
    interface: OpenGL, SDL. Programming
    Language: C++, Lua. C...
    Download Blobby Volley 2
  • 3
    SuiteCRM
    SuiteCRM
    SuiteCRM is the award-winning Customer
    Relationship Management (CRM)
    application brought to you by authors
    and maintainers, SalesAgility. It is the
    world�s mos...
    Download SuiteCRM
  • 4
    Poweradmin
    Poweradmin
    Poweradmin is a web-based DNS
    administration tool for PowerDNS server.
    The interface has full support for most
    of the features of PowerDNS. It has full
    support...
    Download Poweradmin
  • 5
    Gin Web Framework
    Gin Web Framework
    Gin is an incredibly fast web framework
    written in Golang that can perform up to
    40 times faster, thanks to its
    martini-like API and custom version of
    httprout...
    Download Gin Web Framework
  • 6
    CEREUS LINUX
    CEREUS LINUX
    CEREUS LINUX basado en MX LINUX con
    varios entornos de escritorios. This is
    an application that can also be fetched
    from
    https://sourceforge.net/projects/cereu...
    Download CEREUS LINUX
  • More »

Linux commands

  • 1
    aa-clickquery
    aa-clickquery
    aa-clickquery - program for querying
    click-apparmor DESCRIPTION: This program
    is used to query click-apparmor for
    information. USAGE: aa-clickquery
    --click-fra...
    Run aa-clickquery
  • 2
    aa-exec-click
    aa-exec-click
    aa-exec-click - program for executing
    click packages under confinement
    DESCRIPTION: This program is used to
    execute click package under AppArmor
    confinement. I...
    Run aa-exec-click
  • 3
    cpio
    cpio
    cpio - copy files to and from archives ...
    Run cpio
  • 4
    cpipe
    cpipe
    cpipe - copy stdin to stdout while
    counting bytes and reporting progress ...
    Run cpipe
  • 5
    FvwmSave
    FvwmSave
    FvwmSave - the Fvwm desktop-layout
    saving module ...
    Run FvwmSave
  • 6
    FvwmSave1
    FvwmSave1
    FvwmSave - the FVWM desktop-layout
    saving module ...
    Run FvwmSave1
  • More »

Ad