HI there,
i want to copy the checked up files to a folder on a windows machine and the task fails :
The SCP Task uses a local windows user "bamboo" (who is owner of the folder bambootest) .
Local path : **
Remote path : C:\bambootest
simple 19-Aug-2015 14:26:06 Starting task 'Copy Files' of type 'com.atlassian.bamboo.plugins.bamboo-scp-plugin:scptask'
simple 19-Aug-2015 14:26:06 Connecting to 10.2.173.112 on port: 22
simple 19-Aug-2015 14:26:08 Performing a recursive copy...
simple 19-Aug-2015 14:26:08 Uploading '.bowerrc'...
simple 19-Aug-2015 14:26:08 Uploading '.editorconfig'.
....
simple 19-Aug-2015 14:26:08 Creating remote directory 'web'...
simple 19-Aug-2015 14:26:08 Uploading 'C:\Users\sdsds\bamboo-home\xml-data\build-dir\KTP-TP-JOB1\.bowerrc' to 'C:\bambooTest'
...
error 19-Aug-2015 14:26:11 Failed to upload C:\bambooTest, Received unknown response code
error 19-Aug-2015 14:26:11 Copy Failed. Some files were not uploaded successfully.
error 19-Aug-2015 14:26:11 'C:\Users\sdsds\bamboo-home\xml-data\build-dir\KTP-TP-JOB1\web\app\img\wta_images\fme_transparent.png' was not uploaded.
error 19-Aug-2015 14:26:11 'C:\Users\sdsds\bamboo-home\xml-data\build-dir\KTP-TP-JOB1\web\proui\img\placeholders\photos\photo24@2x.jpg' was not uploaded.
In the log i see :
2015-08-19 13:55:31,948 INFO [13-BAM::Default Agent::Agent:pool-28-thread-1] [TaskExecutorImpl] KTP-TP-JOB1-2: Starting task 'Copy Files' of type 'com.atlassian.bamboo.plugins.bamboo-scp-plugin:scptask'
2015-08-19 13:55:31,950 WARN [13-BAM::Default Agent::Agent:pool-28-thread-1] [AtlassianSshClient$AtlassianDefaultSshConfig] Disabling high-strength ciphers: cipher strengths apparently limited by JCE policy
2015-08-19 13:55:31,952 INFO [13-BAM::Default Agent::Agent:pool-28-thread-1] [TransportImpl] Client identity string: SSH-2.0-SSHJ_0_9_2
2015-08-19 13:55:33,266 INFO [13-BAM::Default Agent::Agent:pool-28-thread-1] [TransportImpl] Server identity string: SSH-2.0-cryptlib
2015-08-19 13:55:33,505 INFO [13-BAM::Default Agent::Agent:pool-28-thread-1] [ScpTask] Preparing list of files to copy in C:\Users\kunewis\bamboo-home\xml-data\build-dir\KTP-TP-JOB1 matching **/**
2015-08-19 13:55:33,651 INFO [13-BAM::Default Agent::Agent:pool-28-thread-1] [SessionChannel] Will request to exec `scp -t -r -p 'C:/bambooTest'`
2015-08-19 13:55:36,264 ERROR [reader] [TransportImpl] Dying because - {}
net.schmizz.sshj.transport.TransportException: Broken transport; encountered EOF
at net.schmizz.sshj.transport.Reader.run(Reader.java:59)
2015-08-19 13:55:36,264 INFO [reader] [TransportImpl] Disconnected - UNKNOWN