RemoteConnectionObject

RemoteConnectionObject[]

is an object that represents a remote connection.

Details

  • RemoteConnectionObject can be used in RemoteRun and RemoteRunProcess to execute multiple commands.
  • RemoteConnectionObject has the following properties:
  • "Host"the remote host
    "Username"the user connected to the remote host
    "UUID"unique connection identifier
    "StandardInput"input stream for the remote connection
    "StandardOutput"output stream for the remote connection
    "StandardError"error stream for the remote connection

Examples

open allclose all

Basic Examples  (1)

Create a remote connection object:

In[1]:=
Click for copyable input
Out[1]=

Display the time since boot for the remote machine:

In[2]:=
Click for copyable input
Out[2]=

Write to the input stream of the remote object:

In[3]:=
Click for copyable input

Read from the output stream:

In[4]:=
Click for copyable input
Out[4]=

Close the session:

In[5]:=
Click for copyable input

Scope  (1)

Properties & Relations  (1)

Neat Examples  (1)

Introduced in 2018
(11.3)