That is really something, before as a dev coming from linux when I first was about to login on a Windows Server I didn't understand how to do it since it were no SSH. Administrating the server via a GUI always felt backwards somehow. Why waste CPU cycles on rendering a UI when the CLI is so great (on linux)?
Microsoft's GUI management tools were really good and generally very discoverable. IMO they were a much better way to manage an OS than cryptically named CLI programs and text files. And most of them worked remotely. And by comparison to modern software they can not even remotely be considered bloated. Every electron application ever made is larger than all of RSAT. Now of course they suck ass because MS has no idea…
Windows Server 2019 Includes OpenSSH
271–280 of 296 posts
Re: Windows Server 2019 Includes OpenSSH
#272OpenSSH with powershell is such a great combo. I was very skeptical about powershell, but after writing many scripts I’m a convert. Powershell does so many things nicer than bash. It feels like a real programming language but still not loosing its scripting roots. For running tests for a GUI application which requires us to spin thousands of Machines in parallel, manage job queues, interact with Windows UI automation…
With all the "do 1 thing well" utilities glued by bash, it just feels real effective.
Re: Windows Server 2019 Includes OpenSSH
#273Microsoft is becoming the defacto leader in open source.
This is almost undeniable. Seems like everyone and their mother are using vscode, typescript is huge, .NET Core is FOSS, PowerShell is now open source, etc etc. The Language Server Protocol has revolutionized IDEs in general. And now that they own GitHub (and their projects like Atom), it seems like the entire FOSS developer workflow is likely to be from MS-derived projects. Which I'm sure they are hoping will transl…
Re: Windows Server 2019 Includes OpenSSH
#274Oh no, now we need to train all winIT how to use command line instead of mouse. Always, laughed while configuring/managing MS products. Great news anyway. Congrats on launch (2018)
SSH alone doesn't seem any good without all the UNIX tools.
Re: Windows Server 2019 Includes OpenSSH
#275Earlier quoted context omitted.
Terminal is not the same thing as CLI or TUI. I don't have a problem with either of the latter interfaces, I have a problem with archaic emulation of long obsolete hardware with in-band signaling.
Sorry, misunderstood. Yes, VT100 is rather archaic. Is there a more modern alternative?
Re: Windows Server 2019 Includes OpenSSH
#276Re: Windows Server 2019 Includes OpenSSH
#277Earlier quoted context omitted.
I dont know if that means they didnt understand it. It reads like they were trying to solve the underlying problems with a different approach. SSH is an awesome tool & capability as a relatively high level network channel. The defacto “shell” approach leads to a lot of problems when used as a management device. It encourages adhoc, unstructured, and opaque changes. Managing your hosts via Secure Shell simply leads to…
> Managing your hosts via Secure Shell simply leads to bespoke, unrepeatable, outcomes and crushing debt. SSH is not for management. SSH is for remote access. What people do with their remote access is not SSH's concern. Ad-hoc management is just as possible and easy via RSAT and PowerShell. Hell, I've seen management via ansible devolve into a mess of unmaintainable, unrepeatable script heap. > Moving to a well stru…
To answer your questions you probably have a dedicated on host agent. See MCollective or AWS SSM for examples Im familiar with. It doesnt really matter that the transport or message model is. Its more important that your actions are discrete, well modeled, with defined & structured inputs and outputs. Its also inportant that theres an intermediary so you can get the scope of control away relying on client and end hosts.
For #1 interactive is almost orthoganal. For #1 & #2 Its that you have structure, repeatability, validation, auditing, testability, etc. #3 again a transport problem, or similar.
For your last point my issue is if you treat dev and prod as similar change and access problems. The environment can certainly look or feel the same. But the output of dev should be discrete managed artifacts. If you need to do adhoc exploratory stuff on prod thats a good sign you lack control or valid synoptic model of your systems.
That said, we may be trying to solve different problems. I have lots of teams, more ICs, and many hosts. Getting from artifice to industry is important at some point.
Edit: go check out the mcollective demos to get an idea of how you can change the access/use model.
Re: Windows Server 2019 Includes OpenSSH
#278Earlier quoted context omitted.
They already had group policy for structured administration. What Windows was missing specifically was a non-GUI way for that unstructured "get in there and fix the problem" work flow. Structured workflows may well be better for you, but quick and dirty has a lot of appeal. Sometimes you just have to give people the candy they want - even if its not good for them.
> "get in there and fix the problem" work flow Isn't this an anti-pattern considering the cloud tenants of treating machines as cattle not pets?
Re: Windows Server 2019 Includes OpenSSH
#279Earlier quoted context omitted.
I dont know if that means they didnt understand it. It reads like they were trying to solve the underlying problems with a different approach. SSH is an awesome tool & capability as a relatively high level network channel. The defacto “shell” approach leads to a lot of problems when used as a management device. It encourages adhoc, unstructured, and opaque changes. Managing your hosts via Secure Shell simply leads to…
Where does your opinion on Ansible lie then? It's a systems configuration and orchestration tool that by default, uses SSH as the transport. For Ansible users, Windows getting OpenSSH is a huge win, since we (presumably) will no longer have to jump through all the hoops WinRM throws you in order to configure Windows machines remotely.
Re: Windows Server 2019 Includes OpenSSH
#280Earlier quoted context omitted.
This makes you seem like you don't understand the point of PowerShell remoting. Passing serialised scriptblocks to the remote host, executing them, and getting serialized objects back. Meaning you can pass serialisable objects around, handle errors, the multiple output streams, etc. over the remoting connection. Because it's integrated into the language, you can pull PowerShell modules over from the remote host to th…
The mental overhead of this is much higher than the concept of “I’m logged in to this remote machine - all actions happen there”. That’s why I can guarantee Remote Desktop has more usage than these remote rpc calls for ad-hoc work. Powershell is quite powerful but it’s features are more for programmers than users. Because of its complexity RPC is not a replacement for ssh where you are typing commands directly to the…