ssh.pipe: Execute a remote command via a ssh pipe

Description Usage Arguments Value Examples

Description

Execute a remote command via a ssh pipe

Usage

1
ssh.pipe(cmd, host = "localhost", user = "", open.mode = "")

Arguments

cmd

command string to be executed on the remote shell

host

hostname (or ssh config shortcut) to reach the remote execution host. defaults to localhost

user

username on remote system

open.mode

open mode for the pipe. defaults to text mode but can be changed with "rb" to read binary

Value

an open pipe to the remote process.

Examples

1
readLines(ssh.pipe("ls", "analytix"))

dirkduellmann/SsHDFS documentation built on May 15, 2019, 8:47 a.m.