Vugen and SSH-RSA keys
Been searching all over the forum but didn't find anything related to this.
Is there a way to store the SSH-RSA key of a linux server in the Vugen script (instead of having it in the cache of the system)?
As most of you probably know, generating a script in Vugen to connect through SSH to a linux server require to save the SSH-RSA key in the registry but, once the script is uploaded on ALM and used on Performance Center, it won't work and get "errors" (the SSH-KEY needs to be saved on the server running the scripts and we can't manually add every single server and every single script).
Can someone please help here? I believe is going to be helpful for everybody.
I've noticed that the connection script has the: "ssh-key-file = ;" so I believe is possible to add the public key there, but every time I'm doing it VuGen is asking for another password for the "protected file".
I need a solution to login through SSH to a linux machine and issue few commands using the SSH-RSA key, or avoiding it somehow, one of the things to do is a YUM UPDATE for example, because this script will have to run automatically on Performance Center.
UFT is not going to be an option.
Thank you all
The storage of the key is not inside of VUGEN, but the underlying operating system. So, if you plan on running an RTE script from a particular load generator host, then connect to that load generator in question and SSH to your target, storing the generated key.
Originally Posted by DomDoc
Thank you jpulley3 thought about it, but hoped that would exist a solution, we have systems that are reinstalled weekly (and sometimes even 3 times a week) to test the installation files and every time they change the SSH-RSA key, so the only thing we can do is to save the new SSH-RSA key on the load generator's hosts every time we do a new installation.
Thank you for the help