If you do have a server where you've been told to disable ssh password authentication
Not for work - in an enterprise environment you'd generally know who and what will SSH in to your machine, and can easily deploy SSL certs as needed with configuration management.
My scenario is a personal VPS where I have unknown devices SSHIng in - perhaps from a public computer, or my phone (which of course I forgot to add the key for, before turning off password auth).
The best way I've found so far is temporarily re-enable password auth, ssh-copy-id and turn it back off.
Thanks for the help. One issue with that is a lot of those commands depend on i3 to be run first, and as far as I know, everything after an exec command is ignored in .xinitrc.
Like polybar, redshift, wallpaper, etc.
Instead of exec i3 at the bottom, I tried i3 & at the very top of my user scripts, but no dice. Didn't work with exec i3 at the bottom either.
Will keep looking into it, but you have me on the right track, thank you again.
Every Arch guide can't start with installing git and yay. Those belong elsewhere. Not discrediting your post too much, but you should also look into not using an AUR wrapper. I don't understand why anyone uses them - you've already shown you can use 'makepkg -si' perfectly fine.
The mental hoops that guy is going through could get bronze at the Olympics. Synologies are nothing more than a SAN with a nice interface, which isn't a bad thing.
Definitely wouldn't call gaming a waste of time. My first "server admin" experience was when I was ~12-14, technically, with a garry's mod server. I was editing Lua without a single clue of what I was doing, and learned what FTP was, etc.
Minecraft mods also can be a learning experience. One day at a time is a good rule. I remember being amazed my OS didn't even come with a web browser.
Oh man I'm jealous you're still in high school! You have a lot of time to learn. Just using Linux daily will get you tons of skills, maybe not Ubuntu GUI, but other distros surely will. Use the command line at all costs and you'll just pick up things as they come.
I was an IT undegrad. Interested in Linux. Installed Arch. Really grew to love Linux and used it as my work daily driver. Got Linux server experience and am now pursuing a Masters... not a Masters in Arch my dude.
Haven't touched Terraform and Consul, but we have a bunch of Ubuntu VMs used by undergrads for class really makes me want to use Hashicorp Vault. Right now each class has the same Unix password and MySQL pass for all student accounts.. thankfully this hasn't been a problem yet, but I'd really like to smartly provision credentials.
IMO you really don't need the big server racks a lot of them have. I just have a regular PC case with two 10TB drives, bunch of docker containers and a VM setup (virsh).
I get intimidated too by those enterprise racks people have, but was lucky enough to get some hands on server experience at my job.
Prefacing this by saying I don't have any certs, nor am I studying for any. I also really do not like the concept, CompTia is a shitty company, for example, and the renewal and all that feels like a scam.
HOWEVER, the RHCSA is a really good cert to get. RHEL (variants include CentOS, Fedora, etc.) is used by a whole lot of huge companies.
However I'd recommend setting up a homelab environment first to mess around. Really the major differences come down to package managers, but my experience is limited to Arch, Ubuntu, Debian, a little CentOS.
Make sure you're comfortable without a GUI. Debian Buster or Ubuntu Server is a great place to start.
I started as a Tier 1 helpdesk technician at my colleges helpdesk. Most other techs didn't really apply themselves, whether laziness or not really having a passion for the industry, but I really tried to improve things.
Writing bash scripts to image Macs was my first start in going above normal Tier 1 duties, then eventually setting up a highly available 3 host Hyper V cluster, racking servers, configuring teamed NICS, a SAN, the whole nine. Obviously this was with a great mentor - that's really the key. Networking was a pain to learn the basics of, and I'm still iffy on a lot of concepts.
That lead to being 'promoted' to a graduate assistant, but I have full reign over ~70 hosts, but really only deal with the Linux side (Ubuntu). Implementing Ansible, LibreNMS (server monitoring), Graylog... And just learning general sysadmin practices.
More or less, just keep reading Reddit (tech subreddits) and having a passion to push things forward. It does help that I've been into technology most of my life and graduated with an IT degree. Now my school is paying for my entire Master's degree and paying me a decent wage for a grad student.
Oh, also /r/homelab. If you like system administration, definitely start there.
I'm hoping this post pushes someone to make the leap and install Arch. The first machine I installed on is still my daily driver for work, a Thinkpad X1 Carbon.
Now if only Linux gaming was all the way there.. good bye Windows Subsystem for Linux.
What bar is that?
fwiw Reddit doesn't support triple backtick Markdown code formatting. Have to use some stupid indentation instead.
Not for work - in an enterprise environment you'd generally know who and what will SSH in to your machine, and can easily deploy SSL certs as needed with configuration management.
My scenario is a personal VPS where I have unknown devices SSHIng in - perhaps from a public computer, or my phone (which of course I forgot to add the key for, before turning off password auth).
The best way I've found so far is temporarily re-enable password auth,
ssh-copy-idand turn it back off.I'm not sure, but my problem is more of being on an unknown host to the server, e.g new VM, computer, or docker container.
I guess that wouldn't happen often though.
Winner winner! I was hesitant to "pollute" my i3 config but this worked great.
Well .zprofile/.profile isn't a good option as every instance of Terminator/my terminal will run the bespoke settings. Onto i3 config.
Yea that's my next bet, but I wanted to keep my i3 config clear of startup scripts and strictly key bindings.
Might be shortsighted to do so.
.profile not .xinitrc?
Yea i think thats the ticket. Will try after this meeting.
Edit: .profile/.zprofile will execute after .xinitrc?
Yes, therefore the reason I'm trying to fix it.
Hey,
Thanks for the help. One issue with that is a lot of those commands depend on i3 to be run first, and as far as I know, everything after an
execcommand is ignored in .xinitrc.Like polybar, redshift, wallpaper, etc.
Instead of
exec i3at the bottom, I triedi3 &at the very top of my user scripts, but no dice. Didn't work withexec i3at the bottom either.Will keep looking into it, but you have me on the right track, thank you again.
Every Arch guide can't start with installing git and yay. Those belong elsewhere. Not discrediting your post too much, but you should also look into not using an AUR wrapper. I don't understand why anyone uses them - you've already shown you can use 'makepkg -si' perfectly fine.
I consider /var/lib stuff to be like it's namesake, variable data that is modified as the program runs. Not necessarily data that cannot be touched.
If the error says to empty the data directory, and you have no data in there, I'd go ahead and
rm -rfwhat it says to empty.The mental hoops that guy is going through could get bronze at the Olympics. Synologies are nothing more than a SAN with a nice interface, which isn't a bad thing.
Definitely wouldn't call gaming a waste of time. My first "server admin" experience was when I was ~12-14, technically, with a garry's mod server. I was editing Lua without a single clue of what I was doing, and learned what FTP was, etc.
Minecraft mods also can be a learning experience. One day at a time is a good rule. I remember being amazed my OS didn't even come with a web browser.
Oh man I'm jealous you're still in high school! You have a lot of time to learn. Just using Linux daily will get you tons of skills, maybe not Ubuntu GUI, but other distros surely will. Use the command line at all costs and you'll just pick up things as they come.
I was an IT undegrad. Interested in Linux. Installed Arch. Really grew to love Linux and used it as my work daily driver. Got Linux server experience and am now pursuing a Masters... not a Masters in Arch my dude.
Haven't touched Terraform and Consul, but we have a bunch of Ubuntu VMs used by undergrads for class really makes me want to use Hashicorp Vault. Right now each class has the same Unix password and MySQL pass for all student accounts.. thankfully this hasn't been a problem yet, but I'd really like to smartly provision credentials.
I'll definitely check the link! Thank you
In the future, always ping an IP address along with a DNS name :)
Oh man that seems great. I was using Foreman before, and it's a beast. Very difficult to use. Packer seems much better
Keep in mind I don't have any certs but: (I'm also going to butcher the acronyms):
/r/ITCareerQuestions/ has more information. Hope this helps!
IMO you really don't need the big server racks a lot of them have. I just have a regular PC case with two 10TB drives, bunch of docker containers and a VM setup (virsh).
I get intimidated too by those enterprise racks people have, but was lucky enough to get some hands on server experience at my job.
Prefacing this by saying I don't have any certs, nor am I studying for any. I also really do not like the concept, CompTia is a shitty company, for example, and the renewal and all that feels like a scam.
HOWEVER, the RHCSA is a really good cert to get. RHEL (variants include CentOS, Fedora, etc.) is used by a whole lot of huge companies.
However I'd recommend setting up a homelab environment first to mess around. Really the major differences come down to package managers, but my experience is limited to Arch, Ubuntu, Debian, a little CentOS.
Make sure you're comfortable without a GUI. Debian Buster or Ubuntu Server is a great place to start.
I started as a Tier 1 helpdesk technician at my colleges helpdesk. Most other techs didn't really apply themselves, whether laziness or not really having a passion for the industry, but I really tried to improve things.
Writing bash scripts to image Macs was my first start in going above normal Tier 1 duties, then eventually setting up a highly available 3 host Hyper V cluster, racking servers, configuring teamed NICS, a SAN, the whole nine. Obviously this was with a great mentor - that's really the key. Networking was a pain to learn the basics of, and I'm still iffy on a lot of concepts.
That lead to being 'promoted' to a graduate assistant, but I have full reign over ~70 hosts, but really only deal with the Linux side (Ubuntu). Implementing Ansible, LibreNMS (server monitoring), Graylog... And just learning general sysadmin practices.
More or less, just keep reading Reddit (tech subreddits) and having a passion to push things forward. It does help that I've been into technology most of my life and graduated with an IT degree. Now my school is paying for my entire Master's degree and paying me a decent wage for a grad student.
Oh, also /r/homelab. If you like system administration, definitely start there.
I'm hoping this post pushes someone to make the leap and install Arch. The first machine I installed on is still my daily driver for work, a Thinkpad X1 Carbon.
Now if only Linux gaming was all the way there.. good bye Windows Subsystem for Linux.