Connect to a server, make accessible to outsider and set-up for outsider interaction.

server_connect(session)

Arguments

session

ssh session, see `ssh::ssh_connect`.

Value

logical

Details

This requires installation of ssh package.

See also

Other public-server: server_disconnect()

Examples

library(outsider.base) # NOT RUN if (FALSE) { if (requireNamespace("ssh", quietly = TRUE)) { session <- ssh::ssh_connect(host = '[INSERT HOST IP]') server_connect(session = session) # run outsider.base commands, when finished server_disconnect() } }