如果我只是从一台机器管道,那么很容易:
tool terabyte.txt | ssh [email protected] /sbin/process-input
但是如何同时将数据发送到多台机器?
如果情况涉及其他软件或脚本,我不介意.它不一定是一个“纯粹的ssh”解决方案.
解决方法 你可以试试 ClutterSSH:总结With ClusteRSSH it is possible to make a SSH connection to multiple servers or machines to perform tasks from one single command window,without any scripting. The ‘CSSh’ command lets you connect to any server specifIEd as a command line argument,or to groups of servers (or cluster nodes) defined in a configuration file.
以上是内存溢出为你收集整理的linux:通过ssh将数据传输到多台机器全部内容,希望文章能够帮你解决linux:通过ssh将数据传输到多台机器所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)