YashicaPi camera

Note: Setup Git on Raspberry Pi

Laster inn bilde
Writing notes

This is just a note to my self.

Install git on Raspberry Pi

Run commando in terminal

$ sudo apt-get install git

Generating a new SSH key and adding it to the ssh-agent

$ ssh-keygen -t rsa -b 4096 -C "your_email@example.com"

Follow steps on https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/#generating-a-new-ssh-key

Adding your SSH key to the ssh-agent

$ eval "$(ssh-agent -s)" $ ssh-add ~/.ssh/id_rsa

Follow steps on https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/#adding-your-ssh-key-to-the-ssh-agent

Adding a new SSH key to your GitHub account

Copy the SSH key to your clipboard using xclip.

Install xclip

$ sudo apt-get install xclip

Copy key to clipboard

$ xclip -sel clip < ~/.ssh/id_rsa.pub

Log in to Github and add key. Follow steps on https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account/#platform-linux