how to check whether the ssh tunnel is up

Vincent Lin vintobe at gmail.com
Sat Apr 27 21:42:59 EST 2013


Hi Alex,

Thank you for your suggestion. But I have to use openssh.

Best Regard
Vincent


On Sat, Apr 27, 2013 at 4:37 PM, Alex Bligh <alex at alex.org.uk> wrote:

>
> On 26 Apr 2013, at 10:06, Vincent Lin wrote:
>
> > Is there a way to show whether the ssh
> > tunnel is up?
>
> In addition to the suggestions you have already been
> sent, can I suggest you look at autossh? It uses
> a combination of -L and -R to send packets to the
> other end and back, to check the tunnel is working
> as well as up, and reopens the tunnel if it's
> not up.
>
> --
> Alex Bligh
>
>
>
>
>


More information about the openssh-unix-dev mailing list