mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-12 04:39:02 +00:00
[Update] 添加脚本,将windows协议改为rdp
This commit is contained in:
9
utils/2018_07_15_set_win_protocol_to_ssh.sh
Normal file
9
utils/2018_07_15_set_win_protocol_to_ssh.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
|
||||
python ../apps/manage.py shell << EOF
|
||||
from assets.models import Asset
|
||||
|
||||
Asset.objects.filter(platform__startswith='Win').update(protocol='rdp')
|
||||
|
||||
EOF
|
Reference in New Issue
Block a user