Subversion Repositories

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

Rev 2 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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