r/sysadmin • Systems Engineer • Aug 18 '16

PowerShell is open source, available for Linux and OS X

https://github.com/PowerShell/PowerShell
1.3k Upvotes

369 comments sorted by

View all comments

Show parent comments

21

u/SteveL_Msft Aug 18 '16

My team is working on that as well http://github.com/powershell/openssh. Note that we aren't doing a "complete SSH implementation" as in writing something from scratch, but implementing a portable layer so that OpenSSH works great on Windows. We're still actively working on this and it'll take time before we can call it production ready, but one of the goals is to get our code accepted back into OpenSSH so we won't maintain a fork in the long run.

4

u/minimim Aug 18 '16

get our code accepted back into OpenSSH

Don't forget you have to go trough the Portability Team. And ask to be included in this page after integrating it in the base system.

I didn't meant a reimplementation, just that it will have both a client and the server.

5

u/SteveL_Msft Aug 18 '16

Correct, client and server.

4

u/minimim Aug 18 '16

Don't forget to ship a tool to strip the BOMs out of scripts, since Unix-like kernels won't recognize a shebang if there's a BOM.

4

u/SteveL_Msft Aug 18 '16

We've been discussing this internally as well as other issues like aliases we created on Windows for common Linux commands. There are open issues on this already, feel free to add your feedback.

1

u/minimim Aug 18 '16

It was said in jest :)

2

u/minimim Aug 18 '16

From what I've been reading, the things people want to do with this, it will stop being useful as soon as OpenSSH for Windows is released.

Also, did you see the new IPC proposal for Linux? Do you think it could be used to simulate COM+ (well, build a new COM+ implementation on top) for PowerShell and .NET? If not, you guys should ask the design to be extended until it can, :) .