Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

1370

December 2nd, 2014 09:00

Recoverpoint commands and plink

looking to automate the configuration of a few pieces during a VMware SRM excercise.  Anyone with experience with issue commands to RPA using plink?

I'm using the following:

plink -ssh admin@drrpa.com -pw blahblah-v < "E:\SRM_SCRIPTS\RPACOMMANDS\RecoverpointUnManage.txt"

the tst files contains lines such as:

config_external_mgmt group=duane managed_by=EXTERNAL_APPLICATION

config_external_mgmt group=duane1 managed_by=EXTERNAL_APPLICATION

config_external_mgmt group=duane2 managed_by=EXTERNAL_APPLICATION

problem is that while commands seems to execute, plink never officially exits.  if i put a singled command in the file, it works just fine.

2 Intern

 • 

1.1K Posts

December 2nd, 2014 10:00

You need to add a semi-colon at the end of each command line.

Regards,

Rich

2 Intern

 • 

227 Posts

December 2nd, 2014 14:00

good stuff thanks forshr 

No Events found!

Top