How to create a persistent ssh tunnel using autossh

Table of ContentsCreating the SSH TunnelMaking the Tunnel Persistent Creating a persistent SSH tunnel involves two steps: first, creating the tunnel itself, and second, ensuring that the tunnel is automatically re-established if the connection is lost. Creating the SSH Tunnel The basic command for creating an SSH tunnel is: ssh -L [local port]:[destination host]:[destination port] ...

Linux – Time Command

Linux - Time Command
Time command is used to determine the duration of execution of particular “command”. When the “command” completes , the time command writes the statistics ( the real elapsed time, the user CPU time and the sys CPU time) to the command line just after the output of the “command”.