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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.