Similarly,is interpreted a termination signal to autossh itself, which in this case stop itself and his instance of ssh. The program detects whether the instance of ssh that it has launched terminates for a signal or a connection error and in this case it re-run it, but if you end of ssh comes with a signal of SIGKILL autossh interprets it as a explicit termination, and stops itself. To solve this possible problem and allow you to create permanent tunnels autossh come to your help, a simple program that allows you to run an instance of ssh keeps it under control, and restarting the same istance once that the connection is dropped up to a maximum number of times controlled by the environment variable AUTOSSH_MAXSTART or indefinitely if the value of this is negative (the default). ![]() There are many occasions where you need to create connections to machines and services that are protected by firewalls because it is appropriate to adequately protect them, but for which the creation of a VPN becomes an excessive burden.įor this reason, the ability to port forwarding via SSH is very useful for creating an encrypted tunnel from one machine to another, allowing you to enable only local access (such as a MySQL only listens locally) safely, with the only the problem that in case of problems, the SSH connection (and its tunnels) could fall. ![]() Article by already published on their useful wiki (in Italian)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |