Pull requests

#5 Merged
Repository
TaoK TaoK
Branch
default
Repository
mattgwagner mattgwagner
Branch
default

Adding support for User-interactive prompts in SshShell (base) wrapper classes,

Author
  1. TaoK
Reviewers
Description

Current SshShell class provides no way to handle private key passphrase only when required - there is a signature with passphrase and another without, you must know which to call because the wrapper classes explicitly prevent any as-required interactivity. These changes add the ability to specify your own "UserInfo" object, with arbitrarily-defined delegates for the capture of this type of information.

Example usage in (not-yet-cleaned-up) powershell scripts: https://github.com/TaoK/PS-Snippets/blob/master/SharpSsh%205.ps1 / https://github.com/TaoK/PS-Snippets/blob/master/TunneledClientLauncher.ps1

Comments (1)