Hi,
I am using scp task to copy artifacts to server. But everytime it fails with error as no such file or directory.
it is not able to recognise remote path.
I tried below:
"C:\\Users\\user\\Desktop\\test\\"
"C:\Users\user\Desktop\test\"
"C:/Users/user/Desktop/test/"
"C/Users/user/Desktop/test/"
cygwindir/C/Users/user/Desktop/test/
with single quotes, without quotes. Nothing worked for me.
Please help me here
Hi Mahesh,
What blend of SSH server are you using on the target Windows server? If it's OpenSSH you might be running into the below bug:
Both Cygwin SSHD and MobaSSH are known to handle the paths better out-of-the-box but I'd recommend starting with the workaround on the bug report to set the default shell for OpenSSH to Powershell and see if that helps first.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.