-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.json
More file actions
44 lines (44 loc) · 1.05 KB
/
config.example.json
File metadata and controls
44 lines (44 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
"logDir": "./logs",
"commandBlacklist": [
"^apt-get upgrade",
"curl.*\\|.*sh"
],
"commandWhitelist": [
"^systemctl status\\s+nginx$",
"^docker ps$"
],
"defaultTimeout": 60000,
"servers": {
"prod-web": {
"desc": "Production Web Server (Jump Host)",
"host": "10.0.0.5",
"port": 22,
"username": "deploy",
"privateKeyPath": "./id_rsa_prod",
"passphrase": "${SSH_KEY_PWD}",
"strictHostKeyChecking": false,
"workingDirectories": {
"html": { "path": "/var/www/html", "desc": "Nginx Root" }
},
"proxyJump": {
"host": "bastion.example.com",
"username": "jumpuser",
"password": "${JUMP_PWD}"
}
},
"direct-ssh": {
"desc": "Direct SSH with Password",
"host": "192.168.1.59",
"username": "root",
"password": "${SERVER_PWD}"
},
"test-db": {
"desc": "Read-only Test Database",
"host": "192.168.1.50",
"username": "tester",
"password": "password123",
"readOnly": true
}
}
}