~/.ssh
.
~/.ssh
folder should be 700 (drwx------)
.~/.ssh/id_rsa
should be 600 (-rw-------)
.~/.ssh/id_rsa.pub
should be 644 (-rw-r--r--)
.~/.ssh
folder can be 755 (drwxr-xr-x)
.~/.ssh/id_rsa
can be 644 (-rw-r--r--)
.~/.ssh/id_rsa.pub
can be 644 (-rw-r--r--)
.~/.ssh
.
~/.ssh
folder should be 700 (drwx------)
.~/.ssh/id_rsa
should be 600 (-rw-------)
.~/.ssh/id_rsa.pub
should be 644 (-rw-r--r--)
.authorized_keys
file should contain the public key (cannot duplicate) and its permission should be 600 (-rw-------)
.~/.ssh/
Register an account on GitHub Student Developer Pack, using ucla.edu email.
Upload the public key to GitHub account.
Create a private repository called biostat-203b-2020-winter
and add Hua-Zhou
and juhkim111
as your collaborators with write permission. Gitignore R.
Set up seemless SSH connection between (1) laptop, (2) teaching server, and (3) GitHub.
Log in to the RStudio server on teaching server http://server.ucla-biostat-203b.com:8787, using the username and password on the teaching server.
On teaching server, initialize a project from GitHub within RStudio. Make sure use the Git address instead of the HTTPS address. You can also initialize a project using RStudio on your laptop. But HW1 is mostly about Linux and most easily done on teaching server.
Commit the Rproj
file.
Create a new branch called develop
.
Within develop
branch, create folder hw1
and start working on hw1sol.Rmd
. Commit hw1sol.Rmd
.
Basics of RMarkdown.
QA and hints for HW1.