check_vpn: tun/tap improvements for ssh plugin