Ssh without password to Embedded read only device

Posted on

Ssh without password to Embedded read only device – Managing your servers can streamline the performance of your team by allowing them to complete complex tasks faster. Plus, it can enable them to detect problems early on before they get out of hand and compromise your business. As a result, the risk of experiencing operational setbacks is drastically lower.

But the only way to make the most of your server management is to perform it correctly. And to help you do so, this article will share nine tips on improving your server management and fix some problem about linux, ssh, embedded, , .

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.

Solution :

expect is to be run not on the embedded but the system you’re logging in from.

Leave a Reply

Your email address will not be published.