Glenn,
I'm using the script that you mentioned, although I did have some problems getting it to work with Openssh, so I used rsh instead.
Open ssh does work. But I was having problems getting the whole scheduled job to run. Just running the a batch file from the command prompt with open ssh worked.
To setup open ssh I used the following steps.
PREREQUISITES: This script needs to have a public/private keypair for ssh access. In order to generate ' and use this keypair from a windows host follow these steps: ' -Install OpenSSH for windows ' -From the OpenSSH bin directory (c:\Program Files\OpenSSH\bin) run the following command: ' - ssh-keygen.exe -t dsa -b 1024 ' -This will by default create both a public and private keypair in the logged on user's ' profile under $USERPROFILE.ssh\id_dsa And $USERPROFILE.ssh\id_dsa.pub ' -Edit the id_dsa.pub file. At the very end of the string there is a [usernam]@[computername] ' sequence. Change the [username] to root. ' -Copy the string from the id_dsa.pub to /vol/vol0/etc/sshd/root/.ssh/authorized_keys ' (you will need to create this path if it does not exist) ' -initiate an ssh command against the filer (ssh -l root [filer] version) so you can store the rsa fingerprint ' -if you will be scheduling the script to run via task scheduler, make sure you copy the keys to the ' $USERPROFILE.ssh\ folder on the account that will be running the task. ' ' This script requires the following items be installed Or downloaded: ' - OpenSSH for Windows (http://sshwindows.sourceforge.net/) '
These were the steps in the script, it seemed to work for me.
Cheers
Matt
-----Original Message----- From: owner-toasters@mathworks.com [mailto:owner-toasters@mathworks.com] On Behalf Of Glenn Dekhayser Sent: 21 August 2007 15:29 To: toasters@mathworks.com Subject: VMWare/Netapp TR-3428 question
Hi all,
There's a VBS script in TR3428 that works with VCenter/VCB to do the hot snaps on quiesced VM machines/netapp volumes.
I see that it calls the ssh command (as there is no rsh in VI3 I think).
Question is, for the windows side, what's the best way to get an ssh client going? I don't think that plink works with this script, although I'm sure I could modify it to do so, but I'd rather use the ssh client that was meant to be used with the script.
Is it openSSH?
Glenn @ Voyant
_____________________________________________________________ This e-mail (including all attachments) is confidential and may be privileged. It is for the exclusive use of the addressee only. If you are not the addressee, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please erase all copies of the message and its attachments and notify us immediately at help@generalatlantic.com mailto:help@generalatlantic.com. Thank You.