[問題] sshpass大量執行指令

作者: blackspace98 (~我愛夏天~)   2015-06-01 21:58:15
我有一個list與script如下
list.txt
10.10.1.1,gary,gary@123
10.10.1.2,belle,belle@123
作者: yvb   2015-06-02 02:25:00
(1) while ... read ... 1<&5; do ... ; done 5< list.txt(2) sshpass ... ssh ... < /dev/null兩種方式任選一種應該都行得通.

Links booklink

Contact Us: admin [ a t ] ucptt.com