Page MenuHomePhabricator

Add an SSH access log
ClosedPublic

Authored by epriestley on Dec 5 2013, 9:48 PM.
Tags
None
Referenced Files
F18840089: D7719.id.diff
Mon, Oct 27, 8:57 PM
F18778490: D7719.id.diff
Sat, Oct 11, 9:40 AM
F18774900: D7719.diff
Fri, Oct 10, 5:18 PM
F18672084: D7719.diff
Sep 25 2025, 6:33 AM
F18671909: D7719.id17441.diff
Sep 25 2025, 5:52 AM
F18652924: D7719.id17433.diff
Sep 21 2025, 10:14 AM
F18590150: D7719.id.diff
Sep 12 2025, 5:20 AM
F18579599: D7719.id17433.diff
Sep 11 2025, 1:36 AM
Subscribers

Details

Summary

Ref T4107. Ref T4189. This implements an SSH access log, similar to the HTTP access log.

Test Plan
[Thu, 05 Dec 2013 13:45:41 -0800]	77841	orbital	::1	dweller	epriestley	epriestley	git-receive-pack	/diffusion/POEMS/	0	324765	402	232
[Thu, 05 Dec 2013 13:45:48 -0800]	77860	orbital	::1	dweller	epriestley	epriestley	git-receive-pack	/diffusion/POEMS/	0	325634	402	232

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

btrahan added inline comments.
scripts/ssh/ssh-exec.php
138

maybe throw $rethrow? or can you just set $ex = null before the try / catch block and change the if to $ex?

scripts/ssh/ssh-exec.php
138

Ah, yeah, thanks! I meant throw $rethrow;.