-
Notifications
You must be signed in to change notification settings - Fork 0
/
connect_aws.sh
executable file
·23 lines (21 loc) · 1.71 KB
/
connect_aws.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
############################# CW4 ###################################
# Connect to AWS Instance
ssh -i /Users/aaronsheah/Documents/Keys/ec2-keypair.pem [email protected]
# Upload and Download files through SSH
## DOWNLOAD
# scp -i /Users/aaronsheah/Documents/Keys/ec2-keypair.pem [email protected]:/HPC/hpce-2015-cw4_ajs212/bin/dump.bmp dump.bmp
# scp -i /Users/aaronsheah/Documents/Keys/ec2-keypair.pem [email protected]:HPC/hpce-2015-cw4_ajs212/src/ajs212/step_world_v1_lambda.cpp step_world_v1_lambda.cpp
## UPLOAD
# scp -i /Users/aaronsheah/Documents/Keys/ec2-keypair.pem src/ajs212/step_world_v1_lambda.cpp [email protected]:HPC/hpce-2015-cw4_ajs212/src/ajs212/step_world_v1_lambda.cpp
# scp -i /Users/aaronsheah/Documents/Keys/ec2-keypair.pem src/ajs212/step_world_v2_function.cpp [email protected]:HPC/hpce-2015-cw4_ajs212/src/ajs212/step_world_v2_function.cpp
# scp -i /Users/aaronsheah/Documents/Keys/ec2-keypair.pem src/ajs212/step_world_v3_opencl.cpp [email protected]:HPC/hpce-2015-cw4_ajs212/src/ajs212/step_world_v3_opencl.cpp
# scp -i /Users/aaronsheah/Documents/Keys/ec2-keypair.pem src/ajs212/step_world_v3_kernel.cl [email protected]:HPC/hpce-2015-cw4_ajs212/src/ajs212/step_world_v3_kernel.cl
# scp -i /Users/aaronsheah/Documents/Keys/ec2-keypair.pem src/ajs212/step_world_v5_packed_properties.cpp [email protected]:HPC/hpce-2015-cw4_ajs212/src/ajs212/step_world_v5_packed_properties.cpp
# scp -i /Users/aaronsheah/Documents/Keys/ec2-keypair.pem src/ajs212/step_world_v3_kernel.cl [email protected]:HPC/hpce-2015-cw4_ajs212/src/ajs212/step_world_v5_kernel.cl
# Git cheat sheet
# git tag -a v1.0 -m "v1.0 test"
# git add *
# git commit
# git push
# git pull
#####################################################################