Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Practical command pssh pscp.pssh pslurp

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

The pssh package is in the epel source.

When using the pssh command, it is necessary to realize the ssh login based on the secret key between the two machines, because the command cannot enter yes interactively, and when using-A to enter the password manually, if we use the-h parameter to process multiple machines in batches, he will only have one chance to enter the password, so it will also make an error if the passwords on multiple machines are not the same!

Among them,-e and-o parameters are also commonly used.

Pscp.pssh

It comes from the same package as the pssh tool, and it can send files to multiple machines in batch.

The ssh connection of the pscp.pssh command can only be connected through a secret key.

The psiurp command copies files in bulk from remote hosts

In this way, each host's directory is generated under its own storage directory, and its own files are stored in its own directory. Avoid errors due to duplicate file names

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report