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.
Deepak
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.
Deepak