Connecting to SFTP through PowerShell
Hi All,
We are rewriting our SFTP push script from .bat to .ps1.
However, we want to "encrypt"/secure our authentication. At the moment we have blank passwords in the script like:
We have tried doing saving the site then opening it:
But it isn't able to find the site. We are also OK with using a credential.xml.
Has anyone been able to get to work?
We are rewriting our SFTP push script from .bat to .ps1.
However, we want to "encrypt"/secure our authentication. At the moment we have blank passwords in the script like:
"open sftp://username:password@sftpName:port/ -hostkey=`"`"ssh-ed25519 fingerprint`"`""
"open sftpSitename" ` "put D:\file\* /filearea/outbound/" ` "exit"
Has anyone been able to get to work?