to_all_gw.sh: use id_ecdsa key for scp (all 10 branches reachable)
This commit is contained in:
@@ -2,5 +2,5 @@ cmd_str="Upload ss_gw.php to all branch"
|
|||||||
for cb in biotestnaripan biotestkopo biotestbuahbatu biotestpluit biotestsumatra biotestkelapagading biotestwijaya biotestdarmo biotestkertajaya biotestkartini
|
for cb in biotestnaripan biotestkopo biotestbuahbatu biotestpluit biotestsumatra biotestkelapagading biotestwijaya biotestdarmo biotestkertajaya biotestkartini
|
||||||
do
|
do
|
||||||
echo cmd_str to $cb
|
echo cmd_str to $cb
|
||||||
scp ss_gw.php smartlab@$cb:/home/smartlab/Web/ss_gw.php
|
scp -i ~/.ssh/id_ecdsa ss_gw.php smartlab@$cb:/home/smartlab/Web/ss_gw.php
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user