vmware-archive / cfops

This is simply an automation that is based on the supported way to back up Pivotal Cloud Foundry
http://www.cfops.io
Apache License 2.0
35 stars 24 forks source link

SSH Exception when running cfops with OpsManager 1.5.5 #37

Closed jigsheth57 closed 8 years ago

jigsheth57 commented 8 years ago

./cfops --logLevel "debug" b --opsmanagerhost opshostIP --adminuser admin --adminpass webapppassword --opsmanageruser ubuntu --opsmanagerpass password -d /tmp

ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain

xchapter7x commented 8 years ago

sorry for the slow response. can you please both run:

$ cfops version

and

$ LOG_LEVEL=debug cfops backup ...

it will provide useful information to be able to help debug your issue. However, that error seems like it is either, using a old version of cfops or you are running it from a machine which does not have access to the network where the Elastic Runtime VMs are running.

jigsheth57 commented 8 years ago

Turned out that error was caused by the ‘$’ in password. Once the ‘$’ was escape with single quote, it worked.