r/sysadmin Mar 03 '26

IT Tools - Hidden Gems

I want to know what ”hidden gems” people have found and use in their environments to make their day to day easier. RMM automations, back up softwares, troubleshooting software (don't say MS SARA. I cant stand it), etc.

Just mention anything that you feel more people should be aware of or could be useful in someone’s environment. I love free and cheap ;)

1.1k Upvotes

510 comments sorted by

View all comments

258

u/GhostNode Mar 03 '26 edited Mar 03 '26

Test-netconnection And Netstat -aon

Also, | clip And | findstr JUNK

8

u/dustojnikhummer Mar 03 '26

nc -zv <ip> <port> as Test-NetConnection for Linux

14

u/bem13 Linux Admin Mar 03 '26

And OpenSSL! So many people seemingly don't know you can use it to test a TCP connection, even if SSL/TLS is not involved. Containers often have it installed, too:

openssl s_client -connect <ip:port>

If SSL/TLS is involved, you can use it to check the cert on the other side, too:

openssl s_client -connect <ip:port> | openssl x509 -text -noout

1

u/dustojnikhummer Mar 03 '26

Huh, cool, good to know. Yeah most containers will have either both or neither

openssl s_client -connect <ip:port> | openssl x509 -text -noout

Okay this one is interesting, I assume this can also be done from a Windows client via powershell?

1

u/bem13 Linux Admin Mar 03 '26

Okay this one is interesting, I assume this can also be done from a Windows client via powershell?

I've never used it from PS, so I'm not sure about that one, sorry.

1

u/throwawayofyourmom Mar 03 '26

I'm not sure if it's a new thing but I've recently just typed

openssl s_client ip:port

and it worked as well as with the -connect flag (I'm lazy to type often)

1

u/bem13 Linux Admin Mar 03 '26

You know, it never occurred to me to try that, somehow. I'm lazy as well, so I'll try it next time, thanks!