Max Kozlov
Max Kozlov
your powershell is v4.0 and you do not have `powershellget` installed so this is not `posh-ssh` problem posh-ssh v3 does not support PSv4.0 but you can try https://docs.microsoft.com/en-us/powershell/scripting/gallery/installing-psget?view=powershell-5.1#for-computers-running-powershell-30-or-powershell-40
@darkoperator It's funny, if remove `Convert-SSHRegistryToJsonKnownHost` и `Get-SSHRegistryKnownHost` (since they use classes) and lower the requirements for the version of the version to 4.0, it seems work :) at least...
.net standard 2.0 for win is just net 4.61+ :) https://docs.microsoft.com/en-us/dotnet/standard/net-standard
If your host can be connected by Posh-SSH v2, you can install it manually or thru `Save-Module` from other computer with PSv5.1 ``` powershell Save-Module -Name Posh-SSH -MaximumVersion 2.3 -Path...
@darkoperator, btw it seems to me that v3 should be published here in **Releases**
Try `import-module posh-ssh -verbose`, it looks like you have other version somewhere. And please try to search for renci dll across drive c:
@darkoperator what's the catch ?
Seems it like a #457 problem. Race condition still exists when writing concurrently because `FileStream` with `Share.Read` do not try to wait on fail. I don't know if some work...
@okarpov, You, of course, also can look at issue above, the code of the module and draw conclusions :) Hint: pre-populate `hosts.json` with keys before using it so it's never...
Just try `Get-SSHSession | Remove-SSHSession | Out-Null` But GA v3.0 can lead to errors. Try to use latest from `master` branch with #432 merged