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