Max Kozlov
Max Kozlov
by the way, if there is a solution how to use `ConvertFrom-Json` or some other json* from _PowerShellStandard.Library_ directly from the C# class, the need for _Newtonsoft.Json_ will disappear :)...
@darkoperator, It should be fixed without code move just add **_?_** symbol ``` c# var savedHostKey = Store?.GetKey(computer); ``` because result of foreach cycle used for filtering `connectInfo.HostKeyAlgorithms` _before_ creating...
but there also bunch of Address issues in *Forward cmdlets BoundHost vs Local/Remote Address
It is very strange. I compiled and tested the module via `import-module -path ` and saw both options even without `New-Alias` in `Posh-SSH.psm1` ``` powershell PS C:\> Get-SSHJson Get-SSHJsonKnowHost _Get-SSHJsonKnownHost_...
there can be no ideas here until "an error occurred" turns into at least an error text btw, `New-SSHSession...; $session = Get-SSHSsession` can just be ``$session = New-SSHSession`
maybe Posh-SSH was already connecting to the device with an RSA key, so maybe you need to remove the old device key from the Posh-SSH keystore and reconnect
It's about encryption, not host keys You can try to use `ssh-keyscan yourhostname` and look at second column
The reason seems to be the same as in #349. (https://github.com/sshnet/SSH.NET/issues/745) scp server does not support file time setting
to be sure, try using `scp`, like `scp -p /path/to/filename username@hostname` The `-p` switch tells the server to save file times if the command also blocks, then it's the same...
Yes, setting the file time hardcoded in `SSH.NET` library, so SFTP is only solution for now