-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.rivnefish
30 lines (28 loc) · 1.7 KB
/
README.rivnefish
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
This README contains commands that were executed on the hosting machine
=======================================================================
# Generate RSA key (without password) to be installed on Github
$ ssh-keygen -t rsa -C "[email protected]"
# useless command from manuals, does nothing in our case
$ ssh-add id_rsa
# Add `id_rsa.pub` key to the "SSH Keys" on the https://github.com/settings/ssh page
# to be able to do ssh login by public key
$ cat ~/.ssh/id_rsa.pub
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC+Wga5aAKN3bqySE8vQiYoTGvI/+x47G1RE9J4ralKAy2Q66vbvJJBZVIxe3H+/zjZpL7A+2dDGMambYlWgPXKXAm63eTniEejUnAGnyu15QCW+/Mg3fdmeBS04bs/vqEdPhlgR2TdQsMpXxUpH76LdeofkCTRf6ybA7PsGLGozAbCA8pFjvkjk+pcD0CN/6LuZDycm2dGE4jGWXB1r3b9JDIl/7bGvXmifLDiJ57+lKkvfCbQYg/sx2JeBAj4StRO/lrZCJkzfnGzTu8zkwYTu9xnrDTEgOtyxSiTdEal+CWRYwf144SR+GfDiSCTwvt/qODkGfPPIx5fxD+9x9bp [email protected]
# Test everything works !!!
$ ssh -T [email protected]
Hi rivnefish! You've successfully authenticated, but GitHub does not provide shell access.
# Tune GIT user on this machine
$ git config --global user.name "Rivnefish"
$ git config --global user.email "[email protected]"
# Clone ttp/rivnefish repo
$ cd
$ mkdir projects
$ cd ~/projects/
$ git clone [email protected]:ttp/rivnefish.git
# Sync latest changes
$ git pull
# See diff for our WordPRess plugins
$ diff -r --brief ~/projects/rivnefish/fish-map ~/public_html/wp-content/plugins/fish-map
$ diff -r --brief ~/projects/rivnefish/fish-map-add-place ~/public_html/wp-content/plugins/fish-map-add-place
$ diff -r --brief ~/projects/rivnefish/fish-map-ads ~/public_html/wp-content/plugins/fish-map-ads
$ diff -r --brief ~/projects/rivnefish/fish-map-query ~/public_html/wp-content/plugins/fish-map-query