summaryrefslogtreecommitdiff
path: root/rapid-tunneling-status.8
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-03-04 19:07:41 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-03-04 19:07:41 +0000
commit09e9f39cabc58b666698a8d543298d22613560f2 (patch)
tree2d3e182297ff72c19451249c12502ff7883f28ff /rapid-tunneling-status.8
parent8e13d7e1fddc0e7faaae5ac640a5e05b114eea33 (diff)
rapid-tunneling: man pages for client commands.
git-svn-id: svn+ssh://xorcom/home/svn/debs/components/rapid-tunneling@6823 283159da-0705-0410-b60c-f2062b4bb6ad
Diffstat (limited to 'rapid-tunneling-status.8')
-rw-r--r--rapid-tunneling-status.884
1 files changed, 84 insertions, 0 deletions
diff --git a/rapid-tunneling-status.8 b/rapid-tunneling-status.8
new file mode 100644
index 0000000..d83e8ed
--- /dev/null
+++ b/rapid-tunneling-status.8
@@ -0,0 +1,84 @@
+.TH RAPID-TUNNELING-STATUS 8 "2009-03-04"
+.SH NAME
+rapid-tunneling-status \- Monitor a RapidTunneling tunnel
+.SH SYNOPSIS
+.B rapid-tunneling-status
+.I [-p] [-s] [<pid-file>]
+- show and/or kill a running connection.
+
+.B rapid-tunneling-status
+.I --help
+- Just prints a help message
+
+.SH DESCRIPTION
+.B rapid-tunneling-status
+checks if a RapidTunneling connection is running and returns its status.
+
+It can optionally print the PID of the ssh process that maintains the
+tunnel or kill it and thus disconnect the tunnel.
+
+It must be run by the support user, as it relies on status files in the
+home directory of that user.
+
+.SH OPTIONS
+.B -s
+.RS
+Terminate a running connection. If this option is not provided, the
+status of the connection will be reported.
+.RE
+
+.B -p
+.RS
+If a process is running, print its PID rather than "Connected". Return
+status remains the same.
+.RE
+
+.B pid-file
+.RS
+A file in which to check the PID of the running ssh process. Defaults to
+/var/lib/rapid-tunneling/home/pid
+.RE
+
+.SH RETURN STATUS
+.B 0
+.RS
+Returned if a process was found and is connected or if it was running
+and has been killed.
+.RE
+
+.B 1
+.RS
+Returned if there is an ssh process running and attempting to establish
+a tunnel.
+.RE
+
+.B 2
+.RS
+Returnd if no running connection is found.
+.RE
+
+.SH FILES
+.B /var/lib/rapid-tunneling/home
+.RS
+Home directory of the client support user. Used for status and temporary
+files. Anything there can be deleted when there's no running connection.
+.RE
+
+.SH SEE ALSO
+Full description of the operation is provided in the README file, which
+may be /usr/share/doc/rapid-runneling/README.gz (Debian)
+/usr/share/doc/rapid-tunneling-1.*/README (RedHat and similar) or
+similar locations on binary packages.
+
+.BR rapid-tunneling-status (8)
+is used to control the connection.
+
+.SH BUGS
+Before running rapid-tunneling, better be sure that the remote-access-file
+comes indeed from a trusted source. Recall that once you initiate a tunnel,
+the operator at the remote side can log into your system.
+
+.SH AUTHOR
+RapidTunneling was written by Alex Landau <alex.landau@xorcom.com>.
+
+This manual page was written by Tzafrir Cohen <tzafrir.cohen@xorcom.com>