this post was submitted on 04 Aug 2023
277 points (60.3% liked)
Linux
47224 readers
812 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
This is more about your windows knowledge than windows. All the stuff you're mentioning can easily be done remotely with powershell remoting.
Also, I often just SSH to windows servers. Works fine, has been like that for years now.
https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh_install_firstuse
I still have to log in via fucking RDP to set it up. Why do they even have a desktop environment on a goddamn server?
Also, Windows Event Viewer still blows
The default installation option for Windows Server is without a desktop environment.
Then why has every Windows admin I’ve ever had to deal with use the GUI?
Because that's how most people are taught.
You can use PowerShell to do more than the GUI can most of the time. Both locally and remotely.
It’s not most of them, it’s literally all of them. In the decade or so I’ve been doing enterprise software support I have never seen a Windows admin use SSH, nor met one who wasn’t flummoxed at the notion of a CLI, nor worked with any Windows server that didn’t have a GUI.
As one of those Windows admins who uses all of these things, I'd have to say it can't quite possibly be all of them...
I imagine if you’re able to figure out a CLI you can also read a log, do some googling, and figure things out on your own instead of calling me.
But there are depressingly few of you. So few that it took me until now to learn that Windows even has SSH.
Nah you don't. I've made plenty of headless installations for windows. You think everyone with a datacenter with hundreds of windows servers logs in to each of them with RDP? You can do it with an unattended.xml file. Which is harder to do than what I had to do to make a headless raspberry pi ubuntu server. By a lot, although if you look long enough, you might be able to copy someone else's unattended.xml.
Yeah, it's... an acquired taste. You can actually script it. But it is harder than string manipulation, since the events are all objects, not strings.
Cause I'm lazy.
All of the customers I've dealt with professionally who use Windows generally start with pre-configured VMware or similar images that they then deploy, and then configure with RDP. I have literally, in over 20 years of professional work, never seen a Windows sysadmin ever use SSH.
In fact, when they are forced to use a Linux server most of them will set up VNC to get into it rather than use SSH. WHY?????
Gotta love Windows: Files aren't files, dates aren't dates, logs aren't logs.
Which is strange to me because using a GUI is so much less efficient than a CLI. Which makes me think Windows' CLI is not nearly as good as even bash.
Also, if you're wondering these are the only complete instructions for setting up SSH login with key pairs without using RDP that I could find on the entire Internet.