cse15l-lab-reports

Step 1: making a config file


Image
I made my config file in visual studio code. Being the super creative person I am, I used the same alias as the lab writeup.
This makes the ssh and scp commands much simpler
Image
(this one’s in command prompt because it’s the first one I did and I hadn’t opened everything else yet) Image

Step 2: Pushing to github with an ssh key


I used keygen to make a key pair on the ssh server and copied the public one to github. Here they are:
Image Image
Doing this lets me push to github from the ssh server. Here’s screenshots of that.
Image Image
Here’s a link to that commit

Step 3: Copying directories with scp -r


We can use scp -r to copy the entire markdown parser directory like so:
Image
Then we can run the tests on the ssh server:
Image
We can combine these into one command using semicolons and quotes like we did in lab 1. Or, we should be able to, but it causes an error because the compiler tries to run it on a different version of java. I’m not sure how to fix this.
Image
Leads to:
Image
Maybe there’s a different version of the java and javac commands that specify which version to run, or maybe I could do something with shell scripting?