#vbmc - Add metrics for SSH actions

Also fixes a timing dependency in the unit tests that became more likely to cause flakiness after this change.

PiperOrigin-RevId: 803107800
Change-Id: I55564cb580cce85dbab7bf85fb94c8061327cb01
3 files changed