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
(this one’s in command prompt because it’s the first one I did and I hadn’t opened everything else yet)
I used keygen to make a key pair on the ssh server and copied the public one to github. Here they are:
Doing this lets me push to github from the ssh server. Here’s screenshots of that.
Here’s a link to that commit
We can use scp -r to copy the entire markdown parser directory like so:
Then we can run the tests on the ssh server:
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.
Leads to:
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?