This file contains hidden or 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
#!/bin/bash | |
# | |
# Mush mosh and SSM sessions together. | |
# | |
# Run mosh-server on an EC2 instance as part of an AWS Session Manager SSH | |
# session, and feed the output into mosh-client locally. This is helpful | |
# if you have an EC2 instance which: | |
# | |
# * Is publicly addressable | |
# * Has a predictable Name tag but a shifting IP |
This file contains hidden or 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
#!/bin/bash | |
# Colors | |
RED='\033[0;31m' | |
GREEN='\033[0;32m' | |
NO_COLOR='\033[0m' | |
BLUE='\033[0;34m' | |
YELLOW='\033[0;33m' | |
NO_COLOR='\033[0m' |
OlderNewer