Skip to content

Instantly share code, notes, and snippets.

@patmigliaccio
Created December 30, 2017 17:04
Show Gist options
  • Save patmigliaccio/1ebb3f19ea3f8eddaa32fd8b701abd6b to your computer and use it in GitHub Desktop.
Save patmigliaccio/1ebb3f19ea3f8eddaa32fd8b701abd6b to your computer and use it in GitHub Desktop.
bash script to rdp into windows server with rdesktop
#!/bin/sh
# Reference: https://stackoverflow.com/a/38860/5199198
SERVER=SERVER_NAME
USER=USER_NAME
DOMAIN=DOMAIN_NAME
/usr/bin/rdesktop -g 1152x864 \
-a 16 \
-u $USER \
-d $DOMAIN \
-r sound:local \
$SERVER
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment