Created
August 30, 2020 20:25
-
-
Save spoelstraethan/f0c0f2543e413c01ff3dac9272aef194 to your computer and use it in GitHub Desktop.
ssvnc + ss to find open VNC port from Packer/Vagrant
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssvnc -viewer $(ss -ltH '( dport geq :5900 and dport leq :5999 or sport geq :5900 and sport leq :5999 )' | tr -s [:blank:] |cut -d' ' -f 4) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment