closeTunnel: Close an SSH tunnel opened by tunnelr

Description Usage Arguments Value Examples

View source: R/tunnel.R

Description

Close an SSH tunnel opened by tunnelr

Usage

1

Arguments

con

An object of class "tunnel" returned by tunnel().

Value

TRUE if the function closes the tunnel associated with con, NA if there was no tunnel to close, or FALSE if the tunnel could not be closed.

Examples

1
2
3
4
5
6
## Not run: 
sshTunnel = tunnel(remote_server, server_username,
                   remote_port, local_port)
closeTunnel(sshTunnel)

## End(Not run)

wmay/tunnelr documentation built on May 4, 2019, 9:45 a.m.