Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

keep ec2 instance connected on command line

echo 'ClientAliveInterval 60' | sudo tee --append /etc/ssh/sshd_config
sudo service sshd restart
 
PREVIOUS NEXT
Tagged: #instance #connected #command #line
ADD COMMENT
Topic
Name
7+9 =