Terminal: Clone-with-a-Difference

Elfen Ring Area

Objective

Recover the Elfen Ring

Task 1: Clone with a Difference

Difficulty: 1/5 Christmas Trees Description: Clone a code repository. Get hints for this challenge from Bow Ninecandle in the Elfen Ring.

Terminal Details
We just need you to clone one repo: git clone git@haugfactory.com:asnowball/aws_scripts.git 
This should be easy, right?

Thing is: it doesn't seem to be working for me. This is a public repository though. I'm so confused!

Please clone the repo and `cat` the 'README.md' file.
Then `runtoanswer` and tell us the last word of the 'README.md' file!
Solution

First attempt to run the command given in the HELP dialog to see what the problem is.

bow@41fb89a176bd:~$ git clone git@haugfactory.com:asnowball/aws_scripts.git
Cloning into 'aws_scripts'...
The authenticity of host 'haugfactory.com (34.171.230.38)' can't be established.
ECDSA key fingerprint is SHA256:CqJXHictW5q0bjAZOknUyA2zzRgSEJLmdMo4nPj5Tmw.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'haugfactory.com,34.171.230.38' (ECDSA) to the list of known hosts.
git@haugfactory.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Since this SSH key doesn't have permission to read the git repo but the repo is known to be public, just change from using SSH to HTTP to clone it.

bow@41fb89a176bd:~$ git clone https://haugfactory.com/asnowball/aws_scripts.git
Cloning into 'aws_scripts'...
remote: Enumerating objects: 64, done.
remote: Total 64 (delta 0), reused 0 (delta 0), pack-reused 64
Unpacking objects: 100% (64/64), 23.83 KiB | 1.59 MiB/s, done.

Grab the last few lines of README.txt to satisfy the task requirements.

bow@41fb89a176bd:~$ tail -n 5 aws_scripts/README.md 
## License
For open source projects, say how it is licensed.

## Project status
If you have run out of energy or time for your project, put a note at the top of the README saying that development has slowed down or stopped completely. Someone may choose to fork your project or volunteer to step in as a maintainer or owner, allowing your project to keep going. You can also make an explicit request for maintainers.

Run runtoanswer to submit the answer.

bow@41fb89a176bd:~$ runtoanswer 
                                        Read that repo!
What's the last word in the README.md file for the aws_scripts repo?

> maintainers
Your answer: maintainers

Checking......
Your answer is correct!

After submitting the answer close the terminal and return to the Elfen Ring Area.