Skip to content

Latest commit

 

History

History
82 lines (47 loc) · 3.53 KB

lab-report-3-week-6.md

File metadata and controls

82 lines (47 loc) · 3.53 KB

Lab Report 3

  1. Streamlining ssh Configuration
  • Show your .ssh/config file, and how you edited it (with VScode, another program, etc)

Screen Shot 2022-05-09 at 12 31 22 PM

  • Show the ssh command logging you into your account using just the alias you chose.

Screen Shot 2022-05-09 at 12 31 54 PM

  • Show an scp command copying a file to your account using just the alias you chose.

Screen Shot 2022-05-09 at 1 10 16 PM

Screen Shot 2022-05-16 at 6 58 11 PM


  1. Setup Github Access from ieng6
  • Show where the public key you made is stored on Github and in your user account (screenshot).

Screen Shot 2022-05-09 at 12 51 51 PM

  • Show where the private key you made is stored on your user account (but not its contents) as a screenshot.

Screen Shot 2022-05-09 at 1 16 19 PM

  • Setting up Github access from ieng6:
  1. Clone MarkdownParse repository through pasting git clone (HTTPS link) in the terminal
  2. Change directory to MarkdownParse repository
  3. In the terminal, paste git remote set-url origin (repo SSH url)
  4. Enter touch test.txt
  5. Enter git add .
  6. Enter git commit -m "new change"
  7. Then git push
  • Show running git commands to commit and push a change to Github while logged into your ieng6 account.

Screen Shot 2022-05-16 at 7 30 14 PM

  • Show a link for the resulting commit.

https://github.com/a3alani/markdown-parser/commit/d00a6083bfc06087c58cdf4bfde56e870d721568


  1. Copy whole directories with scp -r
  • Enter scp -r . [email protected]:~/markdown-parse in the terminal to copy the whole direcotry into the server

Show copying your whole markdown-parse directory to your ieng6 account.

Screen Shot 2022-05-16 at 7 55 54 PM

Screen Shot 2022-05-16 at 8 02 18 PM

Show logging into your ieng6 account after doing this and compiling and running the tests for your repository.

Screen Shot 2022-05-16 at 8 02 18 PM

Screen Shot 2022-05-16 at 8 14 41 PM

Show (like in the last step of the first lab) combining scp, ;, and ssh to copy the whole directory and run the tests in one line.

  • remove directory and then copy again using semi-colon for multiple commands in one line