Connect to submisstion via ssh
ssh_connect(...)
ssh_disconnect()
Pass to ssh::ssh_connect()
.
# ssh is automatically connected. To manually connect ssh, run:
# \dontrun{
ssh_connect()
#> Error in ssh_connect(): bsub_opt$submission_node is not defined. No node to connect.
ssh_disconnect()
# }
# where the user name is the one you set in `bsub_opt$user` and
# the node is the one you set in `bsub_opt$login_node`.