远程连接对象

远程连接对象[]

是表示远程连接的对象。

细节

  • 远程连接对象可用于远程运行远程运行进程执行多个命令。
  • 远程连接对象具有以下属性:
  • “主机”远程主机
    “用户名”连接到远程主机的用户
    “UUID”唯一连接标识符
    “标准输入”远程连接的输入流
    “标准输出”远程连接的输出流
    “标准错误”远程连接的错误流

示例

全部打开全部关闭

基本示例  (1)

创建远程连接对象:

显示远程计算机自启动以来的时间:

写入远程对象的输入流:

从输出流读取:

关闭会话:

范围  (1)

连接到远程主机:

对象包含与连接相关的属性:

列出属性:

关闭会话:

属性和关系  (1)

创建远程连接对象:

写入远程对象的输入流:

从输出流读取:

关闭会话:

整洁的示例  (1)

创建远程连接对象:

运行WolframScript脚本在远程计算机上:

Wolfram Research(2018),RemoteConnectionObject,Wolfram语言函数,https://reference.wolfram.com/language/ref/RemoteConnectionObject.html。

文本

Wolfram Research(2018),RemoteConnectionObject,Wolfram语言函数,https://reference.wolfram.com/language/ref/RemoteConnectionObject.html。

CMS公司

沃尔夫拉姆语言。2018.“远程连接对象”。Wolfram语言与系统文档中心。Wolfram研究。https://reference.wolfram.com/language/ref/RemoteConnectionObject.html。

亚太地区

沃尔夫拉姆语言。(2018). 远程连接对象。Wolfram语言与系统文档中心。检索自https://reference.wolfram.com/language/ref/RemoteConnectionObject.html参考.wolfram.com/language/ref/RemoteConnectionObject.html

BibTeX公司

@misc{reference.wolfram_2024_remoteconnectionobject,author=“wolfram Research”,title=“{remoteconnectionobject}”,year=“2018”,howpublished=“\url{https://reference.jolfram.com/language/ref/remoteconnectionobject.html}”]}

BibLaTeX公司

@online{reference.wolfram_2024_remoteconnectionobject,organization={wolfram Research},title={remoteconnectionobject},year={2018},url={https://reference.wolfram.com/language/ref/remoteconnectionobject.html},note=[访问时间:2024年6月15日]}