如何在 telnet 上Linux主机后执行命令.docxVIP

  • 15
  • 0
  • 约2.72万字
  • 约 33页
  • 2016-11-17 发布于天津
  • 举报
如何在 telnet 上Linux主机后执行命令.docx

1如何在 telnet 上Linux主机后远程执行主机上的shell脚本  HYPERLINK /archiver/tid-22151.html /archiver/tid-22151.html 从 Windows telnet 到 Linux,建立 主机 与 设备 的通信,这是典型的嵌入式测试环境。 我的问题代表了一类人的需求。 [url]/forum/topic/82393-telnet-in-background/page__p__590023#entry590023[/url] 这个4楼的帖子具有相当的参考价值。又是一种方法。稍作修改和封装,如下:[code] ;Using native socket connection to simulates a TELNET connection to communicate with Linux machine for sending commands and receiving info from it $port = 23 $user = root $passwd = xxxxxx TCPStartup() $socket = TCPConnect($host, $port) If $socket = -1 Then ? ? ? ? MsgBox(48, Error, Connection fail!) ? ? ?

文档评论(0)

1亿VIP精品文档

相关文档