Skip to content

u/Vexas

In this archive from Apr 2015 to Aug 2023

19
posts
68
comments
3
media
1.1k
score
2 saved before deletion

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.

1 points

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 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.

1 points

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.

3 points

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

2 points

Keep in mind I don't have any certs but: (I'm also going to butcher the acronyms):

  • RHCSA - Very well known cert, many large companies use a lot of RHEL and their subsidiary products
  • LPIC - well known Linux cert
  • Security+ - good if you want to get into cyber security
  • CCNA - great for getting into networking
  • Cloud Certs - Azure/AWS/etc. If you're looking into a DevOps role, these can be a good start (also investigate Ansible, Kub, Jenkins, etc)

/r/ITCareerQuestions/ has more information. Hope this helps!

4 points

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.

6 points

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.

29 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.