SCP Task: Failed to connect to host

Hello,

I'm trying to configure a simple plan in Bamboo: Checkout from Subversion repository and Upload my Coldfusion source to a Test environment.

The plan execution throws attached exception. I have checked all parameter:

host: myhost

port: 2122

username: myuser

Authentication type: Password

password: mypassword

local path: *

Remote path: /mypath

I have a FTP connection (not SFTP) with this parameter and it works fine!

Do you know what am I doing wrong? Shall I need other task to upload my source by FTP?

Thanks for advance!

Starting task 'Upload Source' of type 'com.atlassian.bamboo.plugins.bamboo-scp-plugin:scptask'
error	03-Jul-2014 12:29:41	Failed to connect to host
error	03-Jul-2014 12:29:41	net.schmizz.sshj.transport.TransportException: Incorrect identification: line too long
error	03-Jul-2014 12:29:41		at net.schmizz.sshj.transport.TransportImpl.init(TransportImpl.java:164)
error	03-Jul-2014 12:29:41		at net.schmizz.sshj.SSHClient.onConnect(SSHClient.java:671)
error	03-Jul-2014 12:29:41		at net.schmizz.sshj.SocketClient.connect(SocketClient.java:71)
error	03-Jul-2014 12:29:41		at net.schmizz.sshj.SocketClient.connect(SocketClient.java:77)
error	03-Jul-2014 12:29:41		at com.atlassian.bamboo.plugins.scp.ScpTask.execute(ScpTask.java:77)
error	03-Jul-2014 12:29:41		at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:188)
error	03-Jul-2014 12:29:41		at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:94)
error	03-Jul-2014 12:29:41		at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:87)
error	03-Jul-2014 12:29:41		at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:206)
error	03-Jul-2014 12:29:41		at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:103)
error	03-Jul-2014 12:29:41		at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:111)
error	03-Jul-2014 12:29:41		at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:52)
error	03-Jul-2014 12:29:41		at java.lang.Thread.run(Thread.java:745)
error	03-Jul-2014 12:29:41	Caused by: net.schmizz.sshj.transport.TransportException: Incorrect identification: line too long
error	03-Jul-2014 12:29:41		at net.schmizz.sshj.transport.TransportImpl.readIdentification(TransportImpl.java:210)
error	03-Jul-2014 12:29:41		at net.schmizz.sshj.transport.TransportImpl.init(TransportImpl.java:157)
error	03-Jul-2014 12:29:41		... 12 more
simple	03-Jul-2014 12:29:41	Finished task 'Upload Source'

2 answers

This widget could not be displayed.

Hi Ignacio,

Thank you for your question.

What is your current Bamboo instance version, please?

Would be possible to inform/compare your settings for:

  • Source Control Checkout, where you provide a repository URL
  • SCP Task

Kind regards,
Rafael

Bamboo 4.4.8

Thanks for the fast response!

Rafael, sorry, can you share any news?

This widget could not be displayed.

Hello,

We have the same exception. We cannot upload a file to an FTP Server via SCP plugin.

Our Bamboo version information
Version5.7-OD-06-010
Build number5714
Build date12/2/14

Our SCP Version:


scp-version.png

 

The Log is attached as a file here:

Hopefully this helps to track down this error. Would be nice to be able to use the ftp deployment plan.

Cheers,
Thomas

Thomas, can you share any news or fix?

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

143 views 2 0
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you