# Using Eternal Terminal with OSX and AWS Including Ansible Support

DevFeed: [Using Eternal Terminal with OSX and AWS Including Ansible Support](<https://devfeed.tech/articles/using-eternal-terminal-with-osx-and-aws-including-ansible-support-28122.md>)

Original publisher: [Read original article](<http://fuzzyblog.io/blog/aws/2019/11/26/using-eternal-terminal-with-osx-and-aws-including-ansible-support.html>)

Author: Fuzzygroup

Published: 2019-11-26T00:00:00Z

Content type: tutorial

Language: en

Sources: [Scott Johnson](<https://devfeed.tech/sources/scott-johnson.md>)

Topics: [ssh](<https://devfeed.tech/topics/ssh.md>), [Amazon Web Services](<https://devfeed.tech/topics/aws.md>), [Homebrew](<https://devfeed.tech/topics/homebrew.md>), [Ubuntu](<https://devfeed.tech/topics/ubuntu.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Ansible](<https://devfeed.tech/topics/ansible.md>)

Tags: [ansible](<https://devfeed.tech/tags/ansible.md>), [aws](<https://devfeed.tech/tags/aws.md>), [devops](<https://devfeed.tech/tags/devops.md>), [eternal-terminal](<https://devfeed.tech/tags/eternal-terminal.md>), [linux](<https://devfeed.tech/tags/linux.md>), [osx](<https://devfeed.tech/tags/osx.md>), [ssh](<https://devfeed.tech/tags/ssh.md>), [ubuntu](<https://devfeed.tech/tags/ubuntu.md>)

## AI overview

A practical guide to using Eternal Terminal to maintain SSH sessions between an OSX client and a remote AWS Linux server. It covers installation, server startup, opening port 2022, updating SSH login commands, and optionally automating setup with Ansible.

## Source excerpt

I know, I know - it is 2019 and we're not supposed to be SSH'ing into boxes - but, really, you're going to do it anyway. And if you are going to ssh into boxes then, for heaven's sake, let's get rid of that stupidity that is your SSH terminal disconnecting whenever there is a simple blip in connectivity. Eternal Terminal, ET, is a mature Open Source project that purports to solve SSH disconnects. I say "purports" because I have only just installed it and this blog post is my proof of concept to see how well it works. I'm essentially SSH'd into some box or another roughly 10 to 12 hours a day, 5 to 7 days a week. Note: You can strike purports in the above paragraph. I've now been using Eternal Terminal though a variety of network conditions including changing my wifi connection with long running processes and it works great. I do not understand the deviltry that drives this pretty damn amazing bit of software but I sure do like it. Overview Here's what you need to do to use ET on a local OSX to remote AWS context: You need to install ET (client) on your OSX box. You need to install ET (server) on your Linux server. You need to start ET (server) on your Linux server. You need to open port 2022 on your AWS security group. You need to adjust your SSH login statements. You may want to use an Ansible Playbook to install ET on your server. Installing ET on OSX Here's how to install ET on OSX: brew install MisterTea/et/et Installing ET on your Server Here's how to install ET on Ubuntu: sudo apt-get install -y software-properties-common sudo add-apt-repository ppa:jgmath2000/et sudo apt-get update sudo apt-get install et Starting Eternal Terminal on Your Server After installation, ET should start automatically. You can check its status with: systemctl status et You should see something like this if ET is running: ● et.service - Eternal Terminal Loaded: loaded (/lib/systemd/system/et.service; enabled; vendor preset: enabled) Active: active (running) since Tue 2019-11-26 21:37