forked from tahoe-lafs/tahoe-lafs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove "manhole" (ssh-accessible REPL)
This little-used debugging feature allowed you to SSH or Telnet "into" a Tahoe node, and get an interactive Read-Eval-Print-Loop (REPL) that executed inside the context of the running process. The SSH authentication code used a deprecated feature of Twisted, this code had no unit-test coverage, and I haven't personally used it in at least 6 years (despite writing it in the first place). Time to go. Also experiment with a Twisted-style "topfiles/" directory of NEWS fragments. The idea is that we require all user-visible changes to include a file or two (named as $TICKETNUM.$TYPE), and then run a script to generate NEWS during the release process, instead of having a human scan the commit logs and summarize the changes long after they landed. Closes ticket:2367
- Loading branch information
Showing
6 changed files
with
6 additions
and
325 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -272,19 +272,6 @@ set the ``tub.location`` option described below. | |
|
||
.. _`#521`: https://tahoe-lafs.org/trac/tahoe-lafs/ticket/521 | ||
|
||
``ssh.port = (strports string, optional)`` | ||
|
||
``ssh.authorized_keys_file = (filename, optional)`` | ||
|
||
This enables an SSH-based interactive Python shell, which can be used to | ||
inspect the internal state of the node, for debugging. To cause the node | ||
to accept SSH connections on port 8022 from the same keys as the rest of | ||
your account, use:: | ||
|
||
[tub] | ||
ssh.port = 8022 | ||
ssh.authorized_keys_file = ~/.ssh/authorized_keys | ||
|
||
``tempdir = (string, optional)`` | ||
|
||
This specifies a temporary directory for the web-API server to use, for | ||
|
@@ -705,8 +692,6 @@ a legal one. | |
log_gatherer.furl = pb://[email protected]:44801/eqpwqtzm | ||
timeout.keepalive = 240 | ||
timeout.disconnect = 1800 | ||
ssh.port = 8022 | ||
ssh.authorized_keys_file = ~/.ssh/authorized_keys | ||
[client] | ||
introducer.furl = pb://[email protected]:44801/ii3uumo | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
The little-used "manhole" debugging feature has been removed. This allowed | ||
you to SSH or Telnet "into" a Tahoe node, providing an interactive | ||
Read-Eval-Print-Loop (REPL) that executed inside the context of the running | ||
process. The SSH authentication code used a deprecated feature of Twisted, | ||
this code had no unit-test coverage, and I haven't personally used it in at | ||
least 6 years (despite writing it in the first place). Time to go. |