Steps To Install autossh on Mac

Package Information:

Name: autossh
Use: autossh is a program to start a copy of ssh and monitor it, restarting it as necessary should it die or stop passing traffic.
URL: http://www.harding.motd.ca/autossh/

Installation Steps:

  1. Open Terminal using Spotlight search by pressing <command+space>. Type terminal and hit Enter key.
  2. Now, run
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
  3. Install autossh using brew
    brew install autossh

autossh is ready to use now!