Extend remote client to allow for better debugging

Extend the ssh remote client so that server details can be passed
in, to enrich debug messages with server details and console log
when available. Add unit test coverage for the exception handling
and logging as well.

Change-Id: I3127e58a9d333df0f55adb2960dc7f26d66c4609
2 files changed