tunnel_to_database_server: SSH Tunnel to Drives Relational Database Management System...

View source: R/utilities.R

tunnel_to_database_serverR Documentation

SSH Tunnel to Drives Relational Database Management System Sever

Description

This function issues a system call to open a new xterm window and construct an ssh tunnel to the server over port 3306.

Usage

tunnel_to_database_server(
  user = Sys.getenv("WUSTL_KEY_USER"),
  server = Sys.getenv("DRIVES_DATABASE_SERVER")
)

Arguments

user

wustl key username

server

fqdn of the server

Note

An ssh key can be installed on the server to avoid password entry.

  1. issue ssh-keygen locally to create the key

  2. run ssh-copy-id user@hostname to install the key on the remote server

Examples

## Not run: 
tunnel_to_database_server()

## End(Not run)


RoeLabWustl/roelabr documentation built on Aug. 27, 2022, 9:57 a.m.