07.05.2021, 15:42
Hi,
Strange problem.
After a reboot, a script that uses ssh to another server stopped working.
I found that the ssh key had disappeared from /lib/genohm-scada/storage.
I wanted to generate a new key with:
but no key is generated:
Any idea what might be going on?
Thanks.
Strange problem.
After a reboot, a script that uses ssh to another server stopped working.
I found that the ssh key had disappeared from /lib/genohm-scada/storage.
I wanted to generate a new key with:
Code:
key = '/lib/genohm-scada/storage/id_rsa'
res = os.execute('dropbearkey -t rsa -f ' .. key)
log(res)
keyinfo = io.readproc('dropbearkey -y -f ' .. key)
log(keyinfo)
Code:
testing 07.05.2021 17:26:49
* string:
testing 07.05.2021 17:26:49
* number: 35584
Thanks.