Physics Derivation Graph navigation Sign in

editing Physics Derivation Graph on AWS EC2 Ubuntu

Published 2017-02-11T17:55:00Z by Physics Derivation Graph

I wanted to play around with EC2, and AWS offers limited compute for 1 year for free. 
Start here:

I turned on alerts for billing to prevent charges.

$ chmod 600 filename.pem
$ ssh -i filename.pem ubuntu@<IP address>


$ sudo apt-get install git
$ git config --global "<my name>"
$ git config --global <my email address>
$ git config --list
$ ssh-keygen -t rsa -b 4096 -C "<my email address"

go to

$ ssh-add -l
Could not open a connection to your authentication agent.
$ eval "$(ssh-agent -s)"
Agent pid 2690
$ ssh-add -l
The agent has no identities.
$ ssh-add ~/.ssh/id_rsa
Identity added: /home/ubuntu/.ssh/id_rsa (/home/ubuntu/.ssh/id_rsa)
$ ssh-add -l
4096 64:84:9f:91:c7:8c:7d:14:98:2a:db:05:6d:39:c8:0f /home/ubuntu/.ssh/id_rsa (RSA)

Validate setup:
$ ssh -T

On the page
switch from HTTPS to SSH to find the address
git clone