If we add authentication keys, as shown on our SSH keys tutorial, the tunnels will open without user intervention, as long as autossh is running. This utility can automatically create and recreate SSH sessions. Even if we can even configure the frequency and timeout for the session keepalives to facilitate the connection-loss detections, it would be nice to fully automate the SSH session creation and reconnection.įor that, a handy piece of software is autossh. Persistent Tunnelsīy the way, an SSH tunnel only exists as long as the SSH connection holds. Also, the host specification allows wildcards.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |