server_disconnect: Disconnect from a server

Description Usage Details Value See Also Examples

View source: R/ssh.R

Description

Disconnect from a server and remove from outsider

Usage

1

Details

This requires installation of ssh package.

Value

logical

See Also

Other public-server: server_connect()

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
library(outsider.base)

# NOT RUN
## Not run: 
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()
}

## End(Not run)

outsider.base documentation built on April 19, 2021, 1:06 a.m.