powered by
Adds a host name to the ~/.ssh/known_hosts file to allow subsequent SSH access. Requires ssh-keyscan on the system PATH.
~/.ssh/known_hosts
ssh-keyscan
PATH
step_add_to_known_hosts(host = "github.com")
[string] The host name to add to the known_hosts file, default: github.com.
[string]
known_hosts
github.com
Other steps: step_add_to_drat(), 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_test_ssh(), step_write_text_file()
step_add_to_drat()
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_test_ssh()
step_write_text_file()
# NOT RUN { dsl_init() get_stage("before_deploy") %>% add_step(step_add_to_known_hosts("gitlab.com")) dsl_get() # }
Run the code above in your browser using DataLab