CSE15L

1. Streamlining ssh Configuration

My .ssh/config file:

This below is my .ssh/config file and I use Notes to edit it.

image

logging into my account using just the alias:

This help us login without enter username which is very convinient. We just need to type ssh ieng6 to login rightnow.

image

## Using scp command copying a file to my account using just the alias:

image

2. Setup Github Access from ieng6

This enable us to commit&push changes to github from server.

Public&private key I made stored on Github and in my user account:

image

image

3. Copy whole directories with scp -r

This enable us to copy a full directory at once instead repeatly copy the files manually.

Copying whole markdown-parse directory to ieng6 account:

basicly we just need to enter to the directory and then we can use scp -r command to copy recursively.

image

Login and complie after copy:

we can run the test right now that we just copy:

image

Combining scp, ;, and ssh and complie all in one line:

This make it even more convinent, we can finish all the thing in one line and without login to the server.

image