1
0
mirror of https://github.com/jumpserver/jumpserver.git synced 2025-05-05 14:46:20 +00:00
jumpserver/utils/2018_07_15_set_win_protocol_to_ssh.sh

10 lines
163 B
Bash

#!/bin/bash
#
python ../apps/manage.py shell << EOF
from assets.models import Asset
Asset.objects.filter(platform__startswith='Win').update(protocol='rdp')
EOF