Details
-
Bug
-
Resolution: Timed out
-
Low
-
None
-
5.14.1, 5.14.3.1
-
Cygwin OpenSSH
-
1
-
Severity 3 - Minor
-
Description
Summary
If the user password contain pounds symbol (£), Bamboo SSH task will fail to connect
Environment
- Windows Server 2016
- Cygwin OpenSSH
Steps to Reproduce
- Install Cygwin OpenSSH in a Windows machine
- Create Windows local user account with pounds symbol (£) in the password
- Use Bamboo SSH task to perform SSH command with the above user and password
Expected Results
The build will finish successfully
Actual Results
The build fail with the following exception:
simple 07-Dec-2016 23:09:38 Starting task 'SSH Task' of type 'com.atlassian.bamboo.plugins.bamboo-scp-plugin:sshtask' simple 07-Dec-2016 23:09:38 Connecting to 54.169.72.9 on port: 22 error 07-Dec-2016 23:09:38 Failed to connect to host error 07-Dec-2016 23:09:38 net.schmizz.sshj.userauth.UserAuthException: Exhausted available authentication methods error 07-Dec-2016 23:09:38 at net.schmizz.sshj.SSHClient.auth(SSHClient.java:232) error 07-Dec-2016 23:09:38 at net.schmizz.sshj.SSHClient.auth(SSHClient.java:208) error 07-Dec-2016 23:09:38 at net.schmizz.sshj.SSHClient.authPassword(SSHClient.java:293) error 07-Dec-2016 23:09:38 at net.schmizz.sshj.SSHClient.authPassword(SSHClient.java:263) error 07-Dec-2016 23:09:38 at net.schmizz.sshj.SSHClient.authPassword(SSHClient.java:247) error 07-Dec-2016 23:09:38 at com.atlassian.bamboo.plugins.scp.SshTask.execute(SshTask.java:99) error 07-Dec-2016 23:09:38 at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$3(TaskExecutorImpl.java:317) error 07-Dec-2016 23:09:38 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:246) error 07-Dec-2016 23:09:38 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:317) error 07-Dec-2016 23:09:38 at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:118) error 07-Dec-2016 23:09:38 at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:74) error 07-Dec-2016 23:09:38 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:215) error 07-Dec-2016 23:09:38 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:139) error 07-Dec-2016 23:09:38 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:130) error 07-Dec-2016 23:09:38 at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:221) error 07-Dec-2016 23:09:38 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:129) error 07-Dec-2016 23:09:38 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:137) error 07-Dec-2016 23:09:38 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:51) error 07-Dec-2016 23:09:38 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) error 07-Dec-2016 23:09:38 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) error 07-Dec-2016 23:09:38 at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) error 07-Dec-2016 23:09:38 at java.lang.Thread.run(Thread.java:745)
Notes
Same problem happens when performing SSH task into a Linux machine with a user that have pounds in the password