find_rshcmd

0th

Percentile

Search for SSH clients on the current system

Search for SSH clients on the current system

Keywords
internal
Usage
find_rshcmd(which = NULL, first = FALSE, must_work = TRUE)
Arguments
which

A character vector specifying which types of SSH clients to search for. If NULL, a default set of clients supported by the current platform is searched for.

first

If TRUE, the first client found is returned, otherwise all located clients are returned.

must_work

If TRUE and no clients was found, then an error is produced, otherwise only a warning.

Value

A named list of pathnames to all located SSH clients. If first = TRUE, only the first one is returned. Attribute version contains the output from querying the executable for its version (via command-line option -V).

Aliases
  • find_rshcmd
Documentation reproduced from package future, version 1.16.0, License: LGPL (>= 2.1)

Community examples

Looks like there are no examples yet.