You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to upload files from Bamboo'sSCP task to Windows Server 2012 R2 Standard Edition (run in Amazon t2.micro instance).
But files get saved under wrong names.
For example:
I configure Bamboo's SCP task to upload file api.war into folder deploy as a user [email protected] (via public key put into authorized_keys).
Which I expect to find later on the server at the path C:\Users\buser\deploy\api.war
But instead I find it at the following path: C:\Users\buser\'deploy'
So it seems that it handles the single quotes in the destination path parameter the wrong way.
I got the path issue too while I try to upload the file to git server using git push command, always return a path with the quotes in its error message #400
I was able to create a work-around for this by first creating a folder on the Windows side that literally has the single-quotes already in it, In your case, making a folder named 'deploy' in C:\Users\buser\
I'm trying to upload files from Bamboo's SCP task to Windows Server 2012 R2 Standard Edition (run in Amazon t2.micro instance).
But files get saved under wrong names.
For example:
I configure Bamboo's SCP task to upload file
api.war
into folderdeploy
as a user[email protected]
(via public key put into authorized_keys).Which I expect to find later on the server at the path
C:\Users\buser\deploy\api.war
But instead I find it at the following path:
C:\Users\buser\'deploy'
So it seems that it handles the single quotes in the destination path parameter the wrong way.
Kind regards,
Alex
P.S. I used https://github.com/PowerShell/Win32-OpenSSH/releases/tag/v0.0.3.0
OpenSSH-Win64.zip
The text was updated successfully, but these errors were encountered: