Rev 5 | 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 NAMElshg \- Secure Shell v2 protocol (SSH2) gateway client..SH SYNOPSIS.B lshg.RI [ options ] " hostname" " [command...]".SH DESCRIPTIONConnects to \fIhostname\fP using the Secure SHell v2 (SSH2) protocol, viaa gateway that has been created with \fBlsh(1)\fP.SH OPTIONSThese programs follow the usual GNU command line syntax, with longoptions starting with two dashes (`-').A summary of options is included below..TP.B \-l, \-\-user=\fIusername\fPLog in as user \fIusername\fP..TP.B \-p, \-\-port=\fIport\fPConnect to port number \fIport\fP on the remote host (default 22)..B \-E, \-\-execute=\fIcommand\fPExecute a command on the remote machine..TP.B \-L, \-\-forward\-local\-port=\fIlocal-port:target-host:target-port\fPForwards all ssh connections to \fIlocal port\fP on the local machine to\fItarget-host\fP:\fItarget-port\fP..TP.B \-N, \-\-nopNo operation (suppresses the default action, which is to spawn a remote shell).TP.B \-S, \-\-shell=\fIcommand\fPSpawn a remote shell..TP.B \-g, \-\-remote\-peersAllow remote access to forwarded ports..TP.B \-\-no\-remote\-peersDisallow 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 filedescriptors (i = stdin, o = stdout, e = stderr) into non-blocking mode.If no argument is provided, the workaround is applied to all three filedescriptors. By default, the workaround is applied to stderr (e) only..TP.B \-\-no\-cvs\-workaroundDisable the CVS workaround.TP.B \-t, \-\-ptyRequest a remote pty (pseudo terminal) (default)..TP.B \-\-no\-ptyDon't request a remote pty..TP.B \-\-stderr=\fIfilename\fPRedirect stderr to specified file..TP.B \-\-no\-stderrRedirect stderr to /dev/null.TP.B \-\-stdout=\fIfilename\fPRedirect stdout to specified file..TP.B \-\-no\-stdoutRedirect stdout to /dev/null..TP.B \-\-stdin=\fIfilename\fPRedirect stdin to specified file..TP.B \-\-no\-stdinRedirect stdin from /dev/null..TP.B \-n, \-\-noInverts the effect of the next modifier..TP.B \-\-debugPrint huge amounts of debug information..TP.B \-q, \-\-quietSuppress all warnings and diagnostic messages..TP.B \-\-traceDetailed trace..TP.B \-v, \-\-verboseVerbose diagnostic messages..TP.B \-?, \-\-helpShow summary of options..TP.B \-\-usageShow a short usage message..TP.B \-V, \-\-versionShow program version..SH SEE ALSO.BR lsh (1),.BR lshd (8)..SH AUTHORThis manual page was written by Timshel Knoll <timshel@debian.org>,for the Debian GNU/Linux system (but may be used by others).