how to check whether the ssh tunnel is up
Alex Bligh
alex at alex.org.uk
Sat Apr 27 23:39:17 EST 2013
Vincent,
On 27 Apr 2013, at 12:42, Vincent Lin wrote:
> Thank you for your suggestion. But I have to use openssh.
autossh is a small wrapper for openssh. It's not a different ssh.
Alex
> 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
>
>
>
>
>
--
Alex Bligh
More information about the openssh-unix-dev
mailing list