Creating multiple Login keys for multiple servers

ItsOnlyMe

Verified User
Joined
Apr 3, 2009
Messages
126
Location
Netherlands
Hi,

I was wondering if there is a way to create login keys without logging in to the panel it self. I need to create over 300 keys and doing that by hand --> logging in --> enable login_keys --> set the settings and add allowed IP's. is kind a a struggle to do this 300 times over and over.

I did manage to find the location of the keys it self but i would like to know how they are encrypted. This way i can make a script that generates this for me.

Kind regards,
 
Hello,

Actually yes, you can copy them on disk within a loop, the secret part of a key is a string encrypted the same way as any other system password in Linux.
 
Hello,

Actually yes, you can copy them on disk within a loop, the secret part of a key is a string encrypted the same way as any other system password in Linux.

Hi Alex,

Thnx! I got a script working now that is creating the dirs/files for me and puts the encrypted key in there. This will save me a lot of time:)
 
Back
Top