我正在尝试编写一个脚本,它将使用pssh在多台计算机上运行命令。是否也可以在相同的命令行中传递密码,如下所示:Warning: do not enter yourPassword:sshpass -pabc pssh -h pssh-host.txt -l root -A echo "hi"
Warning: do n
我正在尝试使用PSSH编写一个bash脚本,它发送相同的命令,但根据主机的不同而有不同的参数。主机名和参数将从不同的文件'list.txt‘中提取。into a variable to be able to parse
# parse out host name for psshcommand that creates a new file on each server with their respective argument1 a