tunnel_to_database_server | R Documentation |
This function issues a system call to open a new xterm window and construct an ssh tunnel to the server over port 3306.
tunnel_to_database_server( user = Sys.getenv("WUSTL_KEY_USER"), server = Sys.getenv("DRIVES_DATABASE_SERVER") )
user |
wustl key username |
server |
fqdn of the server |
An ssh key can be installed on the server to avoid password entry.
issue ssh-keygen
locally to create the key
run ssh-copy-id user@hostname
to install the key on the remote server
## Not run: tunnel_to_database_server() ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.