This project is read-only.

Need help with KeyboardInteractiveConnectionInfo in PowerShell

Dec 5, 2015 at 5:16 PM
I am trying to use KeyboardInteractiveConnectionInfo in my powershell script.

Tried to google but did not find an example.

I am trying to write something like below and no clue after that.

[void][reflection.assembly]::LoadFrom((Resolve-Path ".\Renci.SshNet.dll"))
$Sshkey = New-Object Renci.SshNet.KeyboardInteractiveConnectionInfo("server", 22, "admin")

Any help would be much appreciated.

Dec 7, 2015 at 11:33 AM