add_ssh_key_to_multiple_host
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| add_ssh_key_to_multiple_host [2010/09/21 21:43] – created k2patel | add_ssh_key_to_multiple_host [2020/08/10 02:35] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 25: | Line 25: | ||
| echo "Key Successfully Adde" | echo "Key Successfully Adde" | ||
| scp /tmp/$file ${hostlist[${i}]}: | scp /tmp/$file ${hostlist[${i}]}: | ||
| + | rm -rf /tmp/$file | ||
| else | else | ||
| - | echo " | + | echo " |
| + | echo "Local File \"/ | ||
| fi | fi | ||
| fi | fi | ||
add_ssh_key_to_multiple_host.1285105435.txt.gz · Last modified: 2020/08/10 02:28 (external edit)
