Commit Graph

4 Commits

Author SHA1 Message Date
Clemens Schwaighofer
971f9afdd5 Update user creation with keeping public key on the server
With this I can check if I have added that key already to avoid ssh key
double creations
2022-03-09 15:27:46 +09:00
Clemens Schwaighofer
6ce9b40565 Update AWS user create
Has now -t option to turn test on off via command line.
If test is on no user or groups are created, only SSH keys and the zip
file.

Standard ssh key type is now ed25519 and the password gets set with -a
100 flag.

After creation all data is ziped into the zip/ folder for download and
all PEM/PUB/password files are deleted from the folder.

The old user_zip.sh file has been removed because of this.

The script now checks for zip program and zip/ folder existing.
Also base folder must be 600 and root set

The user list file has an update for host name override after the
password file.
If this is set then the server hostname will not be used for file names.
The file name is also back to include the host name but the type changed
to have "#" as separator (can be changed in file) and also ads the ssh
key type to the file
2022-03-09 14:52:14 +09:00
Clemens Schwaighofer
1475bd0438 Add git ignore file control folders v0.5.0 2021-12-14 09:24:42 +09:00
Clemens Schwaighofer
95451f2e46 User creation scripts for aws servers 2021-12-14 06:50:13 +09:00