## Lab 11 - Name: - Email: Instructions for this lab: https://pattonsgirl.github.io/CEG2350/Labs/Lab11/Instructions.html ## Part 1 Answers: 1. `tar` options: | `tar` Option | Description | |--------|------------------------| | `-c` | | | `-v` | | | `-f` | | | `-z` | | | `-x` | | | `-t` | | 2. Command(s) to create and compress your archive: 3. Method(s) used to prove your archive is compressed: ## Part 2 Answers: 1. `sftp` commands: | `sftp` Command | Description | |---------|------------------------| | `ls` | | | `lls` | | | `cd` | | | `lcd` | | | `pwd` | | | `lpwd` | | | `put` | | | `get` | | | `exit` / `bye` | | 2. Command to connect with `sftp`: 3. Command(s) to use `sftp` to download your `.tar.gz` file to your system: 4. Command(s) to decompress & extract your `.tar.gz` file to your system: ## Part 3 Answers: 1. Command to install `apache2` or `nginx`: 2. Command to confirm that web serving service is running: 3. Command to download `simple-site.tar.gz` to your AWS instance: 4. Command(s) to change permissions: 5. Command to extract the compressed archive to `/var/www/html`: 6. Required changes to `index.html` will be awarded credit based on screenshot. 7. [Insert screenshot of your website (with the URL bar included)]() ## Part 4 Answers: 1. Commonly configured `ssh` files: | `ssh` File Path / Name | Purpose | |---------------------------------|--------------------| | `~/.ssh/config` | | | `~/.ssh/id_rsa` | | | `~/.ssh/id_rsa.pub` | | | `~/.ssh/id_ed25519` | | | `~/.ssh/id_ed25519.pub` | | | `~/.ssh/authorized_keys` | | | `~/.ssh/known_hosts` | | 2. Options commonly used in a `config` file for `ssh`: | `ssh` `config` Option | Description | |---------------|------------------------| | `Host` | | | `HostName` | | | `User` | | | `Port` | | | `IdentityFile`| | 3. Command to generate a new key, with options entered into the fields ``` Enter command & options entered while running here ``` 4. Create the user and / or prove the user exists ``` Enter command & output for creating user and / or proving user exists. ``` 5. Contents of `~/.ssh/authorized_keys` in remote user account: ``` Enter contents here ``` 6. `ssh` command: 7. Updated `config` file contents: ``` Enter block with connection information in config file here ``` 8. `ssh` command post `config` file entry: ## Citations To add citations, provide the site and a summary of what it assisted you with. If generative AI was used, include which generative AI system was used and what prompt(s) you fed it.