25 lines
1.1 KiB
JSON
25 lines
1.1 KiB
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(Get-ChildItem -Path \"U:\\\\PycharmProjects\\\\Backup\" -Force)",
|
|
"Bash(Select-Object Name)",
|
|
"Bash(git init *)",
|
|
"Bash(git config *)",
|
|
"Bash(git remote *)",
|
|
"Bash(git add *)",
|
|
"Bash(git commit *)",
|
|
"Bash(git push *)",
|
|
"PowerShell(Test-NetConnection -ComputerName 192.168.1.50 -Port 27017 -InformationLevel Detailed)",
|
|
"Bash(mkdir -p \"U:\\\\PycharmProjects\\\\Backup\\\\PostGRESQLTower\")",
|
|
"Bash(ssh -o StrictHostKeyChecking=no -o ConnectTimeout=5 root@192.168.1.76 \"echo OK\")",
|
|
"Bash(where plink *)",
|
|
"Bash(where putty *)",
|
|
"PowerShell(Get-Command plink, putty, ssh-keygen 2>$null)",
|
|
"Bash(ls ~/.ssh/ 2>&1)",
|
|
"Bash(python -c \"import paramiko; print\\('paramiko OK'\\)\")",
|
|
"Bash(ssh -o StrictHostKeyChecking=no root@192.168.1.76 \"docker ps --format 'table {{.Names}}\\\\t{{.Status}}' | grep -iE 'kanboard|microbin|kanban'\")",
|
|
"Bash(mkdir -p \"U:\\\\PycharmProjects\\\\Backup\\\\KanboardBackup\" \"U:\\\\PycharmProjects\\\\Backup\\\\MicrobinBackup\" 2>&1; echo \"done\")"
|
|
]
|
|
}
|
|
}
|