Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c4ac824d67 |
24
ReadMe.md
24
ReadMe.md
@@ -39,14 +39,14 @@ This file is semicolon ';' separated and not ',' as usual. The reason is that th
|
|||||||
|
|
||||||
## Scripts
|
## Scripts
|
||||||
|
|
||||||
### `rotate-ssh-keys.sh`
|
### `admin-rotate-ssh-keys.sh`
|
||||||
|
|
||||||
Will create a new key and deploy on the server and move the PEM part to the
|
Will create a new key and deploy on the server and move the PEM part to the
|
||||||
local SSH folder
|
local SSH folder
|
||||||
|
|
||||||
Must have -g flag set to run
|
Must have -g flag set to run
|
||||||
|
|
||||||
### `remove-old-ssh-keys.sh`
|
### `admin-remove-old-ssh-keys.sh`
|
||||||
|
|
||||||
Will check in the previous ssh public key folder and remove this entry from the remote server
|
Will check in the previous ssh public key folder and remove this entry from the remote server
|
||||||
|
|
||||||
@@ -71,3 +71,23 @@ Options are
|
|||||||
|
|
||||||
- -h override single host name
|
- -h override single host name
|
||||||
- -u override user name for a host
|
- -u override user name for a host
|
||||||
|
|
||||||
|
### `user-add-ssh-key.sh`
|
||||||
|
|
||||||
|
Add a user public key to the admin user on a server
|
||||||
|
|
||||||
|
- -h override single host name
|
||||||
|
- -u override user name for a host
|
||||||
|
- -k user public key name
|
||||||
|
- -n dry run
|
||||||
|
- -g flag for actual change call
|
||||||
|
|
||||||
|
### `user-remove-ssh-key.sh`
|
||||||
|
|
||||||
|
Remove a user public key from the admin user on a server
|
||||||
|
|
||||||
|
- -h override single host name
|
||||||
|
- -u override user name for a host
|
||||||
|
- -k user public key name
|
||||||
|
- -n dry run
|
||||||
|
- -g flag for actual change call
|
||||||
|
|||||||
Reference in New Issue
Block a user