Fabric SSH authentication does not escape the $ character

Solution Verified - Updated -

Issue

  • I have updated my login credentials for one of servers and now I cannot SSH to the fabric container running on this machine. The authentication fails with the following error:
2014-10-09 16:03:04,069 | ERROR | l Console Thread | SshContainerProvider             | service.ssh.SshContainerProvider  119 | 259 - io.fabric8.fabric-core-agent-ssh - 1.0.0.redhat-379 | Failed to stop container: oxygen
com.jcraft.jsch.JSchException: Auth fail
    at com.jcraft.jsch.Session.connect(Session.java:491)[64:org.apache.servicemix.bundles.jsch:0.1.49.1]
    at com.jcraft.jsch.Session.connect(Session.java:162)[64:org.apache.servicemix.bundles.jsch:0.1.49.1]
    at io.fabric8.service.ssh.SshContainerProvider.runScriptOnHost(SshContainerProvider.java:180)[259:io.fabric8.fabric-core-agent-ssh:1.0.0.redhat-379]

I know I am entering the correct credentials but the password does contain a $ character, could this cause an issue with the authentication?

Environment

  • JBoss Fuse 6.1
  • Fabric

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content