Subversion Repositories

?revision_form?Rev ?revision_input??revision_submit??revision_endform?

Rev 5 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

.\"                                      Hey, EMACS: -*- nroff -*-
.TH lshg 1 "12 Apr, 2001" LSH "lsh Manuals"
.\" Please adjust this date whenever revising the manpage.
.SH NAME
lshg \- Secure Shell v2 protocol (SSH2) gateway client.
.SH SYNOPSIS
.B lshg
.RI [ options ] " hostname" " [command...]"
.SH DESCRIPTION
Connects to \fIhostname\fP using the Secure SHell v2 (SSH2) protocol, via
a gateway that has been created with \fBlshc(1)\fP
.SH OPTIONS
These programs follow the usual GNU command line syntax, with long
options starting with two dashes (`-').
A summary of options is included below.
.TP
.B \-l, \-\-user=\fIusername\fP
Log in as user \fIusername\fP.
.TP
.B \-p, \-\-port=\fIport\fP
Connect to port number \fIport\fP on the remote host (default 22).
.B \-E, \-\-execute=\fIcommand\fP
Execute a command on the remote machine.
.TP
.B \-L, \-\-forward\-local\-port=\fIlocal-port:target-host:target-port\fP
Forwards all ssh connections to \fIlocal port\fP on the local machine to
\fItarget-host\fP:\fItarget-port\fP.
.TP
.B \-N, \-\-nop
No operation (suppresses the default action, which is to spawn a remote shell)
.TP
.B \-S, \-\-shell=\fIcommand\fP
Spawn a remote shell.
.TP
.B \-g, \-\-remote\-peers
Allow remote access to forwarded ports.
.TP
.B \-\-no\-remote\-peers
Disallow remote access to forwarded ports (default).
.TP
.B \-\-cvs\-workaround=[i?o?e?]
Enables the CVS workaround by setting one or more of the stdio file
descriptors (i = stdin, o = stdout, e = stderr) into non-blocking mode.
If no argument is provided, the workaround is applied to all three file
descriptors. By default, the workaround is applied to stderr (e) only.
.TP
.B \-\-no\-cvs\-workaround
Disable the CVS workaround
.TP
.B \-t, \-\-pty
Request a remote pty (pseudo terminal) (default).
.TP
.B \-\-no\-pty
Don't request a remote pty.
.TP
.B \-\-stderr=\fIfilename\fP
Redirect stderr to specified file.
.TP
.B \-\-no\-stderr
Redirect stderr to /dev/null
.TP
.B \-\-stdout=\fIfilename\fP
Redirect stdout to specified file.
.TP
.B \-\-no\-stdout
Redirect stdout to /dev/null.
.TP
.B \-\-stdin=\fIfilename\fP
Redirect stdin to specified file.
.TP
.B \-\-no\-stdin
Redirect stdin from /dev/null.
.TP
.B \-n, \-\-no
Inverts the effect of the next modifier.
.TP
.B \-\-debug
Print huge amounts of debug information.
.TP
.B \-q, \-\-quiet
Suppress all warnings and diagnostic messages.
.TP
.B \-\-trace
Detailed trace.
.TP
.B \-v, \-\-verbose
Verbose diagnostic messages.
.TP
.B \-?, \-\-help
Show summary of options.
.TP
.B \-\-usage
Show a short usage message.
.TP
.B \-V, \-\-version
Show program version.
.SH SEE ALSO
.BR lshc (1),
.BR lshd (8).
.SH AUTHOR
This manual page was written by Timshel Knoll <timshel@debian.org>,
for the Debian GNU/Linux system (but may be used by others).