tunnel | R Documentation |
Secure-shell (ssh) tunnels for database access.
startTunnel(
port = NULL,
remotehost = getOption("aakmisc.remotehost", NULL),
user = getOption("aakmisc.user", NULL),
sleep = 5
)
stopTunnel(..., pid = getOption("aakmisc.tunnelpid", NULL))
port |
Port on which to connect to PostgreSQL database. If NULL, a random port number will be used. |
remotehost |
Hostname of PostgreSQL server. An ssh tunnel to this host will be created. |
user |
Username to use in conneting to PostgreSQL database. If NULL, Sys.getenv("USER") will be used. |
sleep |
Time in seconds to sleep after initiating the ssh tunnel. |
... |
Additional arguments ignored. |
pid |
ID of ssh tunnel process.
Set automatically by |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.