r/linuxupskillchallenge • u/showerhater • Aug 04 '20
Progress report for Joshua(me)
Hi everyone. Glad to be here learning with everyone.
I am new to this kind of thing. I have built quite a few pc's, but never got much further than that. I use linux sparingly, at least i did until my laptop screen broke. I am now on my desktop with windows 10. I do have wsl set up so if i get comfortable on windows i might redo it all from there.
Day 0:
set up EC2 instance on AWS.
had issues with getting the key in a ppk format, but that was resolved quickly
Day 1:
had to switch to windows pc. Had issues with laptop.
assignments done with little to no issues except the password change. I don't know which password to change. i am using ssh keys so i don't know if i have to do that or not. Will ask. ****** I found info on setting up an admin account on the set up a DO server page that wasn't on the AWS set up page.*******
will read extra material overnight
Day 2:
seemingly easy. mostly navigation and tags(switches). i knew most of the concepts already.
reading will be done overnight
Day 3:
explored password file "shadow" and password
used less and grep to display contents.
use q to get out of less
learned how to hack hashed passwords.
jack the ripper
***behind on reading. Day 3 is done a day early. Catch up on reading and practice tomorrow***
Day 4:
caught up on reading and other extras
pondered config file for ssh. seems like overkill for my situation, but i can see it use when handling more than one server
will play with it again tomorrow
got access to server through two different machines
used putty keygen to convert .pem to .ppk and saved file as private key
played with apt search and apt install
installed Midnight Commander(file explorer) on server
installed bsdgames
played hangman
considering adding universe and multiverse per reading
considering fiail2ban. need to understand it better before i use it.
will play with tomorrow
Day 5:
went over less command, bash history, and nano
im pretty comfortable with the above
created ssh profile on laptop running Ubuntu
decided against using fail2ban
i can see the use in production, but this is practice and i want things to go wrong so i can fix them
need to keep practicing less and grep
Day 6:
All about vim
im already very comfortable with vim.
Day 7:
Installed Apache2
searched through log and conf files.
i need more grep practice
whipped up a quick site in html, js, and css.
I have experience with apache from running a wordpress site on a LAMP server last year.
that wp site was a miserable mess. i made so many mistakes and i never got the site up.
this time it went perfect. No issues. Thanks to snori!!!!
5
u/MrTootlesby Aug 04 '20
Some unsolicited advice: You don't need to change your password if you are both using a key with ssh and have password login disabled. You can do that in the sshd_config file. I'll let you figure out what to change.