Skip to content

Latest commit

 

History

History
56 lines (38 loc) · 1.87 KB

lab-report-3-week-6.md

File metadata and controls

56 lines (38 loc) · 1.87 KB

Lab Report 3 Week 6

May 7th, 2022. Tianyang Xu.

This report will include three sections:

  • Streamlining ssh Configuration
  • Setup Github Access from ieng6
  • Copy whole directories with scp -r

Streamlining ssh Configuration

  1. First, I changed into the .ssh directories on my local computer using the command cd .ssh. Then, using vim config to edit the config file. Image

  2. I copied the codes from lab 5 writeup into config file. Image

  3. By entering the ssh ieng6, I can now connect to the remote server easily. Image

  4. Moreover, I am able to copy the whole directory from my local computer to the remote server using a single command. You can see from the below images, all files in the markdown-parse have been copied from my local computer to the remote server. Image Image


Setup Github Access from ieng6

  1. First, here is the SSH keys stored on Github Image

  2. Then, the private key is stored in the .ssh/config file Image

  3. Using the ieng6 server computer, I can commit a change of file to Github. The commit command in the below picture. Image Here is the commit Link Image


Copy whole directories with scp -r

  1. In the first section, I have already copied a whole directory from local computer to the ieng6 computer using the scp -r command. Image Image

  2. Now, I will compile and run the test on ieng6 server. Image

  3. Finally, I can copy from local computer to the remote computer and run the test on the server using a single line of command. Image


Back to main page