I want to be able to retrieve values from an embedded device every minute. Currently I have a script that does this over ssh but I have to type in the password for the embedded device every time I connect to it over SSH. The embedded device is read only and there is absolutely no way I can mount it as writeable at this time. The embedded device is configured badly so I can't even temporarily upload the id_rsa.pub of my machine to the embedded device to allow me to automatically connect using public key authentication. The other problem is I can also not use the "expect" keyword or sshpass daemon since I can't install software on the embedded device.
I forgot to say there is another read only embedded device between me and the embedded device with the data on.
Is there any hope for me? Thanks for your time.
expect
scripting language or something likesshkit
in ruby to automate the connecting and retrieval from the device, what lang in current script written in.