SSH API Implementation

This isn't yet rebased, nor is it mergeable, it's just up for review and comments.
Rather than an `$ssh` switch, maybe accept this path value as the parameter (defaulted to `$null`)?