connect ec2 aws ssh code example
Example 1: connect to amazon aws linux
$ mssh i-001234a4bf70dec41EXAMPLE
Example 2: keep ec2 instance connected on command line
echo 'ClientAliveInterval 60' | sudo tee --append /etc/ssh/sshd_config
sudo service sshd restart