Max Kozlov
Max Kozlov
I think this is underlying library bug This is how it is done on .Net (see Remarks) https://docs.microsoft.com/en-us/dotnet/api/system.io.file.openwrite so it can be fixed at 1. script level 2. posh-ssh level...
the temporary file is a potential security issue that I mentioned above. the temporary path can have other owner/ACL, it can fill the available space, and so on... May be...
it was designed that way with the advent of `Get-SFTPItem` in v2.1
may be i misunderstood you but in your case folder will be **c:\temp\projectgreen** where _projectgreen_ is current remote folder name (./)
do you get "Do you want to trust the fingerprint" on every try ? what timeout values on the server, how much time between question and answer ? may you...
That may be the same issue as #503 Take a look also to #504 discussion
As already mentioned in the #504 discussion, this is a problem with the handling of variable inheritance in powershell, not a problem with the module itself. Perhaps it would be...
Seems this is something like #330 and #519
seems the library Renci.SshNet in this project was compiled for x64 only You may try to use original library from [source](https://github.com/sshnet/SSH.NET/releases)
Yes, seems bug fixed with it