1 Rookie

 • 

62 Posts

August 4th, 2015 12:00

Dual authentication is not a problem for executing scripts for VPLEX. We can use VPLEX in built EXPECT function and write a script and save it in /home directory of VPLEX mgmt server. To understand what i am talking you can see the following link Re: How script Vplexcli.

This way scripts can be run from Vplex mgmt station, my idea is to setup rsa-key pair between between my solaris box and vplex mgmt station, so that i can run the scripts stored in VPLEX and collect its output in my SOLARIS box. I believe this can be achieved.

1 Rookie

 • 

108 Posts

August 4th, 2015 12:00

Hi, 

  So I can't answer the SSH question but I don't think you'll be able to run a VPLEX script from your Solaris box though SSH.  Remember when you SSH to the management station you then have to run vplexcli which will prompt you again for a username and password.  There may be a way to get past that but I wouldn't know how to do it.

Thanks,

Thom

1 Rookie

 • 

108 Posts

August 4th, 2015 13:00

Thanks for helping me out, sorry I couldn't help you!

20 Posts

September 19th, 2015 09:00

You need to add the contents of your "id_rsa.pub" to the "authorized_keys" file on the VPLEX.  This would not be in the /etc/ssh directory you've discovered, but under a directory called ".ssh" in the home directory of the user you're connecting to; I'm assuming this would be "service."

There's a reasonable how-to guide here: SSH with Keys HOWTO: SSH with Keys in a console window

Scroll down to section 4.4 in that guide, as you've already created your keys.

No Events found!

Top