-
Notifications
You must be signed in to change notification settings - Fork 0
/
ieng6
22 lines (17 loc) · 1.08 KB
/
ieng6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Week 6 Lab Report
## Streamlining `ssh` Configuration
### **Step 1: Creating a `.ssh/config` file**
* Enter in the command `~/.ssh/config` into the terminal. **If you get access denied:** try using the command `vim ~/.ssh/config`.
![Image](LR3-1.png)
* Press the `I` key to edit the contents of the `.ssh/config` file and input the following:
![Image](LR3-2.png)
* **Note:** The identity file line should only be added if you are unable to complete Step 2.
* Once you're done editing the file, press `esc` to stop editing and enter `:wq` to save your changes and exit.
![Image](LR3-3.png)
### **Step 2: Logging in using the `ssh` command with your chosen alias**
* In the terminal, input the command `ssh (your alias here)` to log into your `ieng6` account.
![Image](LR3-4.png)
* If this did not work, refer back to the note in Step 1.
### **Step 3: Copying a file using `scp` with your chosen alias**
* Now that you are able to log into your `ieng6` account, try using the `scp` command with your alias.
* Log into your account once more and use the `ls` command to verify that the file is there.