Learn R Programming

tic (version 0.2.13.9017)

step_test_ssh: Step: Test SSH connection

Description

Establishes an SSH connection. This step doesn't fail if the connection cannot be established, but prints verbose output by default. It is useful for troubleshooting deployment problems.

Usage

step_test_ssh(url = "git@github.com", verbose = "-v")

Arguments

url

[string] URL to establish SSH connection with, by default git@github.com

verbose

[string] Verbosity, by default "-v". Use "-vvv" for more verbosity.

See Also

Other steps: step_add_to_drat, step_add_to_known_hosts, step_build_pkgdown, step_do_push_deploy, step_hello_world, step_install_pkg, step_install_ssh_keys, step_push_deploy, step_run_code, step_setup_push_deploy, step_setup_ssh, step_write_text_file

Examples

Run this code
# NOT RUN {
dsl_init()

get_stage("script") %>%
  add_step(step_test_ssh(verbose = "-vvv"))

dsl_get()
# }

Run the code above in your browser using DataLab