When using the SCP task I set the Remote Path to be . or Archive but the SCP task copies all files into a remote folder called '.' or 'Archive'. No matter what I enter into Remote Path it gets surrounded by single quotes.
Listing the directory shows:
'.'
'Archive'
If I put a full path into Remote Path it says "No such file or directory".
I can recreate this behaviour on the command line like so:
scp -i key myTestFile "myuser@myhost.com:'Archive'"
Is there any workaround for this? Has anyone else experienced this problem? I am using bamboo 4.4.5.
I'm having the same issue with SCP hangs when the singles quotes are added.
I ran the scp command line without the singles quotes in the remote folder via windows CMD from the Bamboo computer to the OpenSSH server, the file was transferred.
Connecting to OpenSSH server on a Windows10 computer.
Bamboo v5.11.1.1 build 51117.
Any solution in near the future or workaround?
debug1: Remote protocol version 1.99, remote software version Server-VII-hpn13v1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What is the operating system/shell/SSH server on the destination server? The SCP library that Bamboo uses does add the quotes, but they should not end up in file name...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
debug1: Remote protocol version 1.99, remote software version Server-VII-hpn13v1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.