ssh: Refactor upload-pack timeout to use a ticker factory
This MR refactors the SSH service server to use timer ticker factories instead of a configurable timeout value. This allows us to rework our tests that verify the timeouts work as expected to instead inject manual tickers, which removes any reliance on timing-sensitive logic in those tests.
Closes #4441 (closed).