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

Next challenges

Recent achievements

Recognition

  • Give kudos
  • My kudos

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

684 views 1 6
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