This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Cannot generate ssh key
#1
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:

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)
but no key is generated:

Code:
testing 07.05.2021 17:26:49
* string:
testing 07.05.2021 17:26:49
* number: 35584
Any idea what might be going on?
Thanks.
Reply


Messages In This Thread
Cannot generate ssh key - by baggins - 07.05.2021, 15:42
RE: Cannot generate ssh key - by admin - 07.05.2021, 15:45
RE: Cannot generate ssh key - by baggins - 07.05.2021, 15:54
RE: Cannot generate ssh key - by admin - 08.05.2021, 10:15
RE: Cannot generate ssh key - by baggins - 08.05.2021, 10:53
RE: Cannot generate ssh key - by admin - 08.05.2021, 14:30
RE: Cannot generate ssh key - by baggins - 08.05.2021, 15:03
RE: Cannot generate ssh key - by admin - 10.05.2021, 06:50
RE: Cannot generate ssh key - by baggins - 19.05.2021, 07:49
RE: Cannot generate ssh key - by admin - 19.05.2021, 07:56
RE: Cannot generate ssh key - by baggins - 19.05.2021, 08:18
RE: Cannot generate ssh key - by baggins - 19.05.2021, 22:16

Forum Jump: