summaryrefslogtreecommitdiff
path: root/rapid-tunneling-status.8
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2011-06-15 16:11:40 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2011-06-15 16:11:40 +0000
commit60a54d6482d6b641e92a12749a8161f2b6311f9a (patch)
treebf4419449db6e17eab0aacc54835883a00f7892c /rapid-tunneling-status.8
parent01815348667fc8a7f74ca25c986f47d7bea6f88f (diff)
rapid-tunneling: delete old authorized_keys entries
* rapid-tunneling-status -s (Stop) will also delete entries from authorized keys. * rapid-tunneling-status -r (Remove) will do that - if not connected. * Note the authorized_keys file in the man page. * Better initialize variables. * More documentation updates. git-svn-id: svn+ssh://xorcom/home/svn/debs/components/rapid-tunneling@9429 283159da-0705-0410-b60c-f2062b4bb6ad
Diffstat (limited to 'rapid-tunneling-status.8')
-rw-r--r--rapid-tunneling-status.818
1 files changed, 17 insertions, 1 deletions
diff --git a/rapid-tunneling-status.8 b/rapid-tunneling-status.8
index 009d88c..b47b020 100644
--- a/rapid-tunneling-status.8
+++ b/rapid-tunneling-status.8
@@ -6,6 +6,9 @@ rapid-tunneling-status \- Monitor a RapidTunneling tunnel
.I [\-p] [\-s] [<pid-file>]
- show and/or kill a running connection.
+.I \-r [<pid-file>]
+- Remove left-over entries from .ssh/authorized_keys
+
.B rapid-tunneling-status
.I \-\-help
- Just prints a help message
@@ -24,7 +27,8 @@ home directory of that user.
.B \-s
.RS
Terminate a running connection. If this option is not provided, the
-status of the connection will be reported.
+status of the connection will be reported. Also deletes the entry from
+the authorized_keys file.
.RE
.B \-p
@@ -33,6 +37,12 @@ If a process is running, print its PID rather than "Connected". Return
status remains the same.
.RE
+.B \-r
+.RS
+Remove any entries for rapid-runneling if the connection is no longer
+active.
+.RE
+
.B pid-file
.RS
A file in which to check the PID of the running ssh process. Defaults to
@@ -64,6 +74,12 @@ PID of the potentially currently running process. Set by rapid\-tunneling .
That directory may include several other files.
.RE
+.B $HOME/.ssh/authorized_keys
+.RS
+The entry added there by rapid\-tunneling is removed at disconnect (\-s)
+time.
+.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)