Max Kozlov
Max Kozlov
So, if you can help @darkoperator with compiling and deploying the multitarget module, that would be awesome, because I'm not a real C# developer either :) as a fast "assembly...
Can you test is it Posh-SSH or Renci.SSH.Net issue ? ``` powershell $hostname = '' $port = 22 $username = 'user' $password = '' #path to posh-ssh/Assembly/Renci Add-Type -Path D:\Work\ps\Modules\Posh-SSH\3.0.4\Assembly\Renci.SshNet.dll...
what module version you use?
@darkoperator may be it's time for beta2 ?
No, this is hartdcoded in SSH.net You can try to comment/upvote this issue https://github.com/sshnet/SSH.NET/issues/745
@sergey-s-betke, mikrotik can use **/** in remote path your example works with mikrotik if subfolder already exists: `scp csm.nov.ru.*.rsc [email protected]:/subfilder` `scp csm.nov.ru.*.rsc [email protected]:/subfilder/subfolder2` but `Set-SCPFile` really hangup with any path....
But this bug not in `Posh-SSH` library. You can bug report to https://github.com/sshnet/SSH.NET short test in powershell ``` powershell Add-Type -Path D:\Renci.SshNet.dll $client = [Renci.SshNet.ScpClient]::new($mikrotik_address, $mikrotik_port, $mikrotik_user, $mikrotik_password) $client.connect() $fi...
btw, I just check it with latest beta and suggestions from https://github.com/sshnet/SSH.NET/wiki/ScpClient:-Remote-path-transformation It still hangs with any type of _RemotePathTransformation_
take a quick look at the sources, seems `OperationTimeout` is not used anywhere. if it can be supported by some clients, it should be moved to the appropriate cmdlets.
what does `Get-Command Install-Module` show ? what does `$PSVersionTable` show ?