summaryrefslogtreecommitdiff
path: root/sys/man/4
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2019-04-02 16:40:14 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2019-04-02 16:40:14 +0200
commitfdcb55d6967291e80cd62fc1fbf313fdf74b7592 (patch)
tree4c44acd2db6bf406323add003f34fd21644e966d /sys/man/4
parentae8a9f8b900f6bd4e0f9c6cd99fbe44c1a46e4a3 (diff)
sshnet(4): add documentation
Diffstat (limited to 'sys/man/4')
-rw-r--r--sys/man/4/sshnet48
1 files changed, 48 insertions, 0 deletions
diff --git a/sys/man/4/sshnet b/sys/man/4/sshnet
new file mode 100644
index 000000000..fbade7c32
--- /dev/null
+++ b/sys/man/4/sshnet
@@ -0,0 +1,48 @@
+.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 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)