Skip to content

hectornguyen/autossh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Installation

wget https://raw.github.com/hectornguyen/autossh/master/autossh.sh -O /usr/local/bin/autossh

Usage

This usage is as same as ssh command but I suggest you use SSH aliases instead of IP, for example

autossh root@prod-server

Or you can enter to interactive mode by just use it without any paramters

autossh

It will ask you to enter SSH Username and SSH IP/Aliases.

Reference to SSH aliases, please take a look to this guide.