It's happening - OpenSSH for Windows...from Microsoft
Back in June the folks over at the Microsoft PowerShell blog indicated they were going to support SSH in Windows soon. I read the post a few times and I must admit I read deeply between the lines and enjoyed the post very much. For example, this passage, with emphasis mine.
Finally, I'd like to share some background on today’s announcement, because this is the 3rd time the PowerShell team has attempted to support SSH. The first attempts were during PowerShell V1 and V2 and were rejected. Given our changes in leadership and culture, we decided to give it another try and this time, because we are able to show the clear and compelling customer value, the company is very supportive. So I want to take a minute and thank all of you in the community who have been clearly and articulately making the case for why and how we should support SSH!
Fast forward a few months and they've just released a VERY early version. It's not quite useful enough for a daily driver but it's heartening that it's happening. Sure, it's late, and ya, it should have happened years ago, but it's happening and it'll be built in. SSH will be one less thing to worry about.
Note as they said:
With this initial milestone complete, we are now making the code publicly available and open for public contributions. Please note that this code is still very early and should be treated as a developer preview and is not supported for use in production.
The repository is over at https://github.com/PowerShell/Win32-OpenSSH and the first release is here https://github.com/PowerShell/Win32-OpenSSH/releases. I just unblocked the zip and unzipped it into my c:\utils folder so it was in my path.
I SSH'ed into an Ubuntu machine I have running in Azure like this:
>ssh scott@foofoo.cloudapp.net -p 12345
I did have an issue immediately with an error and some formatting, which I filed and also discussed here. I was able to mostly work around with it "export TERM=xterm" but I'm sure they'll fix it, as again, it's super early.
As an alternative SSH client, try the Bitvise SSH Client. It has a command line app called "stermc" that acts like SSH. I made an ssh.bat file that contains just "stermc %1" and this let's me shush around nicely.
Sponsor: Many thanks to Atalasoft for sponsoring the feed this week. If your project requires image viewing, format freedom, scanning, or other document-centric workflows, Atalasoft’s document imaging experts can help. Evaluate their developer tools for 30 days with remarkable human support.
About Scott
Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.
About Newsletter
Kim - This is the client, but I'm assuming (as a user) that the server will show up at some point. I'll ask the owners on Twitter.
It'd be great to have a real openssh server when working with Windows-people!
And it's open so I can send patches? Look at y'all, heh!
http://mobaxterm.mobatek.net/
Time to start filtering anything that doesn't come from an IP address that you don't control, I guess.
Aside: the comment bots have gotten more clever.
In the meantime I have a couple script that "glue" together git, poshgit, and ssh installed with git together so I can generate my keys and work with all of it nicely: https://dillieodigital.wordpress.com/2015/10/20/how-to-git-and-ssh-in-powershell/
Try Windows 10
https://technet.microsoft.com/en-us/library/mt427362.aspx
One thing you might take a look at, something I stumbled on after adding lxde and xrdp to my remarkably capable $5 a month DigitalOcean instantly provisioned Ubuntu VM is byobu. If we are going back to being command line cowboys for things like dnvm, dnu, dnx, npm and the like then byobu is where I will be doing it.
And yes I know VM's are so last century, and dockers are the here and now, but VM's are still fun. What I do for giggle is have all my ras pi's ssh -R to it for my own little bot net.
Comments are closed.