Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

SCP adding single quotes around remote folder

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.

3 answers

0 votes

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...

debug1: Remote protocol version 1.99, remote software version Server-VII-hpn13v1

Is this the information you needed?

debug1: Remote protocol version 1.99, remote software version Server-VII-hpn13v1

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? 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center - Early Access Program 2

We’re preparing for Bamboo 8.0, which will be our first Data Center release. To make sure our app vendors and customers with written in-house apps are prepared, we’re launching Bamboo 8.0 Early Acces...

132 views 1 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you