what type of aws credentials is required to ssh directly into an amazon ec2 instance code example
Example: keep ec2 instance connected on command line
echo 'ClientAliveInterval 60' | sudo tee --append /etc/ssh/sshd_config
sudo service sshd restart
echo 'ClientAliveInterval 60' | sudo tee --append /etc/ssh/sshd_config
sudo service sshd restart