blob: 42291ca609505a44a55982441afd6eada5391e43 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
.TH SSHNET 4
.SH NAME
sshnet - secure file transfer protocol client
.SH SYNOPSIS
.B sshnet
[
.B -m
.I mtpt
]
[
.B -s
.I service
] [
.IB user @] host
.br
.B sshnet
[
.B -m
.I mtpt
]
[
.B -s
.I service
]
.B --
.I ssh-options
[
.IB user @] host
.SH DESCRIPTION
The SSH protocol allows clients to make outgoing and incoming TCP calls
via the server.
.I Sshnet
establishes an SSH connection and, rather than execute a remote command,
presents the remote server's TCP stack as a network stack
(see the discussion of TCP in
.IR ip (3))
mounted at
.I mtpt
(default
.BR /net ),
optionally posting a 9P service
descriptor for the new file system as
.IB /srv/ service \fR.
All other arguments are passed to
.IR ssh (1)
as is.
.SH SOURCE
.B /sys/src/cmd/sshnet.c
.SH "SEE ALSO"
.IR ssh (1),
.IR ip (3)
|