Subversion Repositories

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

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 magnus 1
.\"                                      Hey, EMACS: -*- nroff -*-
2
.TH lshg 1 "12 Apr, 2001" LSH "lsh Manuals"
3
.\" Please adjust this date whenever revising the manpage.
4
.SH NAME
5
lshg \- Secure Shell v2 protocol (SSH2) gateway client.
6
.SH SYNOPSIS
7
.B lshg
8
.RI [ options ] " hostname" " [command...]"
9
.SH DESCRIPTION
10
Connects to \fIhostname\fP using the Secure SHell v2 (SSH2) protocol, via
11
a gateway that has been created with \fBlshc(1)\fP
12
.SH OPTIONS
13
These programs follow the usual GNU command line syntax, with long
14
options starting with two dashes (`-').
15
A summary of options is included below.
16
.TP
17
.B \-l, \-\-user=\fIusername\fP
18
Log in as user \fIusername\fP.
19
.TP
20
.B \-p, \-\-port=\fIport\fP
21
Connect to port number \fIport\fP on the remote host (default 22).
22
.B \-E, \-\-execute=\fIcommand\fP
23
Execute a command on the remote machine.
24
.TP
25
.B \-L, \-\-forward\-local\-port=\fIlocal-port:target-host:target-port\fP
26
Forwards all ssh connections to \fIlocal port\fP on the local machine to
27
\fItarget-host\fP:\fItarget-port\fP.
28
.TP
29
.B \-N, \-\-nop
30
No operation (suppresses the default action, which is to spawn a remote shell)
31
.TP
32
.B \-S, \-\-shell=\fIcommand\fP
33
Spawn a remote shell.
34
.TP
35
.B \-g, \-\-remote\-peers
36
Allow remote access to forwarded ports.
37
.TP
38
.B \-\-no\-remote\-peers
39
Disallow remote access to forwarded ports (default).
40
.TP
41
.B \-\-cvs\-workaround=[i?o?e?]
42
Enables the CVS workaround by setting one or more of the stdio file
43
descriptors (i = stdin, o = stdout, e = stderr) into non-blocking mode.
44
If no argument is provided, the workaround is applied to all three file
45
descriptors. By default, the workaround is applied to stderr (e) only.
46
.TP
47
.B \-\-no\-cvs\-workaround
48
Disable the CVS workaround
49
.TP
50
.B \-t, \-\-pty
51
Request a remote pty (pseudo terminal) (default).
52
.TP
53
.B \-\-no\-pty
54
Don't request a remote pty.
55
.TP
56
.B \-\-stderr=\fIfilename\fP
57
Redirect stderr to specified file.
58
.TP
59
.B \-\-no\-stderr
60
Redirect stderr to /dev/null
61
.TP
62
.B \-\-stdout=\fIfilename\fP
63
Redirect stdout to specified file.
64
.TP
65
.B \-\-no\-stdout
66
Redirect stdout to /dev/null.
67
.TP
68
.B \-\-stdin=\fIfilename\fP
69
Redirect stdin to specified file.
70
.TP
71
.B \-\-no\-stdin
72
Redirect stdin from /dev/null.
73
.TP
74
.B \-n, \-\-no
75
Inverts the effect of the next modifier.
76
.TP
77
.B \-\-debug
78
Print huge amounts of debug information.
79
.TP
80
.B \-q, \-\-quiet
81
Suppress all warnings and diagnostic messages.
82
.TP
83
.B \-\-trace
84
Detailed trace.
85
.TP
86
.B \-v, \-\-verbose
87
Verbose diagnostic messages.
88
.TP
89
.B \-?, \-\-help
90
Show summary of options.
91
.TP
92
.B \-\-usage
93
Show a short usage message.
94
.TP
95
.B \-V, \-\-version
96
Show program version.
97
.SH SEE ALSO
98
.BR lshc (1),
99
.BR lshd (8).
100
.SH AUTHOR
101
This manual page was written by Timshel Knoll <timshel@debian.org>,
102
for the Debian GNU/Linux system (but may be used by others).