Hands-on Activity 2 SSH Key-Based Authentication and GIT Setup
- Github URL: Github Link
Conclusion: In this activity, there are four objectives to accomplish. The first objective is to configure remote and local machines to connect via SSH using a KEY instead of using a password. I have been able to accomplish the first objective by following the instruction given from the activity. Also, I used syntaxes such as ssh-keygen and ssh-copy-id in order to produce public and private keys for the servers. The second objective is to create a public key and private key. I completed this by using SSH keys and public key authentication. The third objective is to verify connectivity. I achieved this objective by troubleshooting the connectivity and making sure that every syntax is correct. The fourth objective is to set up a Git Repository using local and remote repositories. By the help of GitHub, I have been able to create a GIT Repository and connect it to both of my servers. Configuring and running ad hoc commands from local machine to remote servers is the last objective which is accomplished by doing ansible commands such as ssh key distribution and configuring firewall.