I try to send a file from a Windows 2012 server to a Linux server using a script.
For that I have tested the following module: SSH-NET Librairy because if it is true ssh is not implemented natively in powershell. The trouble is that I manage to connect in my linux server has powershelle entering my login and password. But whenever I généère a public private key nothing works.
Can you tell me what is the method to do this kind of script?