forked from data61/MP-SPDZ
-
Notifications
You must be signed in to change notification settings - Fork 0
/
load.zsh
executable file
·51 lines (44 loc) · 3.53 KB
/
load.zsh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/usr/bin/env zsh
set -xe
trap "exit" INT TERM
trap "kill 0" EXIT
#ADDR_ONE=ec2-3-123-20-235.eu-central-1.compute.amazonaws.com
#ADDR_TWO=ec2-18-153-91-249.eu-central-1.compute.amazonaws.com
#ADDR_THREE=ec2-18-184-174-48.eu-central-1.compute.amazonaws.com
ADDR_ONE=ec2-18-184-121-68.eu-central-1.compute.amazonaws.com
ADDR_TWO=ec2-18-184-57-69.eu-central-1.compute.amazonaws.com
ADDR_THREE=ec2-3-67-83-162.eu-central-1.compute.amazonaws.com
# scp persistence file
#scp -i ~/.ssh/aws_ppl.pem "$ADDR_ONE":code/MP-SPDZ/Persistence/Transactions-P0-P251.data Persistence/Transactions-P0-P251.data
#scp -i ~/.ssh/aws_ppl.pem "$ADDR_TWO":code/MP-SPDZ/Persistence/Transactions-P1-P251.data Persistence/Transactions-P1-P251.data
#scp -i ~/.ssh/aws_ppl.pem "$ADDR_THREE":code/MP-SPDZ/Persistence/Transactions-P2-P251.data Persistence/Transactions-P2-P251.data
scp -i ~/.ssh/aws_ppl.pem "$ADDR_ONE":code/MP-SPDZ/Persistence/Transactions-P0.data Persistence/Transactions-P0.data
scp -i ~/.ssh/aws_ppl.pem "$ADDR_TWO":code/MP-SPDZ/Persistence/Transactions-P1.data Persistence/Transactions-P1.data
scp -i ~/.ssh/aws_ppl.pem "$ADDR_THREE":code/MP-SPDZ/Persistence/Transactions-P2.data Persistence/Transactions-P2.data
#scp -i ~/.ssh/aws_ppl.pem "$ADDR_ONE":code/MP-SPDZ/Player-Data/Input-Binary-P0-0 Player-Data/Input-Binary-P0-0
#scp -i ~/.ssh/aws_ppl.pem "$ADDR_TWO":code/MP-SPDZ/Player-Data/Input-Binary-P1-0 Player-Data/Input-Binary-P1-0
#scp -i ~/.ssh/aws_ppl.pem "$ADDR_THREE":code/MP-SPDZ/Player-Data/Input-Binary-P2-0 Player-Data/Input-Binary-P2-0
##
#scp -i ~/.ssh/aws_ppl.pem "$ADDR_ONE":code/MP-SPDZ/Player-Data/Input-Binary-P0-0-format Player-Data/Input-Binary-P0-0-format
#scp -i ~/.ssh/aws_ppl.pem "$ADDR_TWO":code/MP-SPDZ/Player-Data/Input-Binary-P1-0-format Player-Data/Input-Binary-P1-0-format
#scp -i ~/.ssh/aws_ppl.pem "$ADDR_THREE":code/MP-SPDZ/Player-Data/Input-Binary-P2-0-format Player-Data/Input-Binary-P2-0-format
#ADDR_ONE=ec2-3-120-247-100.eu-central-1.compute.amazonaws.com
#ADDR_TWO=ec2-3-67-11-41.eu-central-1.compute.amazonaws.com
#ADDR_THREE=ec2-3-75-189-220.eu-central-1.compute.amazonaws.com
#
#
## scp persistence file
#scp -i ~/.ssh/aws_ppl.pem "$ADDR_ONE":code/MP-SPDZ/Persistence/Transactions-P0-P251.data Persistence/Transactions-P0-P251.data
#scp -i ~/.ssh/aws_ppl.pem "$ADDR_TWO":code/MP-SPDZ/Persistence/Transactions-P1-P251.data Persistence/Transactions-P1-P251.data
#scp -i ~/.ssh/aws_ppl.pem "$ADDR_THREE":code/MP-SPDZ/Persistence/Transactions-P2-P251.data Persistence/Transactions-P2-P251.data
#
#scp -i ~/.ssh/aws_ppl.pem "$ADDR_ONE":code/MP-SPDZ/Persistence/Transactions-P0.data Persistence/Transactions-P0.data
#scp -i ~/.ssh/aws_ppl.pem "$ADDR_TWO":code/MP-SPDZ/Persistence/Transactions-P1.data Persistence/Transactions-P1.data
#scp -i ~/.ssh/aws_ppl.pem "$ADDR_THREE":code/MP-SPDZ/Persistence/Transactions-P2.data Persistence/Transactions-P2.data
#scp -i ~/.ssh/aws_ppl.pem "$ADDR_ONE":code/MP-SPDZ/Player-Data/Input-Binary-P0-0 Player-Data/Input-Binary-P0-0
#scp -i ~/.ssh/aws_ppl.pem "$ADDR_TWO":code/MP-SPDZ/Player-Data/Input-Binary-P1-0 Player-Data/Input-Binary-P1-0
#scp -i ~/.ssh/aws_ppl.pem "$ADDR_THREE":code/MP-SPDZ/Player-Data/Input-Binary-P2-0 Player-Data/Input-Binary-P2-0
##
#scp -i ~/.ssh/aws_ppl.pem "$ADDR_ONE":code/MP-SPDZ/Player-Data/Input-Binary-P0-0-format Player-Data/Input-Binary-P0-0-format
#scp -i ~/.ssh/aws_ppl.pem "$ADDR_TWO":code/MP-SPDZ/Player-Data/Input-Binary-P1-0-format Player-Data/Input-Binary-P1-0-format
#scp -i ~/.ssh/aws_ppl.pem "$ADDR_THREE":code/MP-SPDZ/Player-Data/Input-Binary-P2-0-format Player-Data/Input-Binary-P2-0-format