open_tunnel.Rd
Open an SSH tunnel, prompting for passwords as needed
open_tunnel(
remote_host,
user = NULL,
password = NULL,
tunnel_dir = "~/.pecan/tunnel/",
wait.time = 15,
tunnel_script = "~/pecan/web/sshtunnel.sh"
)
name of remote server to connect to (e.g. geo.bu.edu)
username on remote_host
password on remote_host
directory to store tunnel file in, typically from settings$host
how long to give system to connect before deleting password (seconds)
Path to sshtunnel.sh script file for opening tunnel
numeric giving ssh PID if configured, otherwise logical with TRUE = success