cse15l-labreports

THIS IS LAB REPORT 3 - WEEK 6

PART 1: Streamlining ssh Configuration

The following image shows my config file:

Screenshot 2022-05-11 at 2 12 08 AM

After completing config, it makes it easier to log in to the remote computer

Screenshot 2022-05-08 at 9 34 06 PM

It also makes the process of copying a file easier, in the following image I am copying the file forReport3.java:

Screenshot 2022-05-11 at 2 18 43 AM

PART 2: Setup Github Access from ieng6

This is my public key on github:

Screenshot 2022-05-13 at 11 55 54 AM

The following screenshot is of the ssh file opened on VScode which shows my private (id_rsa) and public (id_rsa.pub) key:

Screenshot 2022-05-11 at 2 12 26 AM

The image below depicts the result of using git commands while logged in ssh:

Screenshot 2022-05-12 at 7 34 07 PM

LINK TO THE UPDATE MADE USING GIT COMMANDS ON TERMINAL

PART 3: Copy whole directories with scp -r

Copying the markdown-parser directory to ieng6:

Screenshot 2022-05-12 at 7 39 02 PM

Screenshot 2022-05-12 at 7 39 18 PM

Screenshot 2022-05-12 at 7 40 06 PM

Now while being logged in ieng6, compiling and running my tests:

Screenshot 2022-05-13 at 10 27 50 AM

Now combining scp, ;, and ssh to copy the whole directory and run the tests in one line, I get this:

Screenshot 2022-05-13 at 12 33 29 PM

Screenshot 2022-05-13 at 12 33 52 PM

Screenshot 2022-05-13 at 12 34 06 PM