Slashdot Mirror


Microsoft To Support SSH In Windows and Contribute To OpenSSH

An anonymous reader writes: Microsoft has announced plans for native support for SSH in Windows. "A popular request the PowerShell team has received is to use Secure Shell protocol and Shell session (aka SSH) to interoperate between Windows and Linux – both Linux connecting to and managing Windows via SSH and, vice versa, Windows connecting to and managing Linux via SSH. Thus, the combination of PowerShell and SSH will deliver a robust and secure solution to automate and to remotely manage Linux and Windows systems." Based on the work from this new direction, they also plan to contribute back to the OpenSSH project as well.

179 of 285 comments (clear)

  1. finally by Anonymous Coward · · Score: 5, Funny

    it's only 2015 guys...

    1. Re:finally by Anonymous Coward · · Score: 5, Funny

      Just imagine the time warp when they discover rsync.

    2. Re:finally by Anonymous Coward · · Score: 1

      You mean robocopy?

    3. Re:finally by drinkypoo · · Score: 2

      New, as in everyone who wants this already has this via cygwin. It even installs as a service. Presumably I should ssh in and use powershell, but I've never tried because if I want to do real computing, I do it on a real OS with a real shell.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    4. Re:finally by Anonymous Coward · · Score: 1

      Robocopy isn't like rsync. Rsync was designed to work efficiently if large files, or large parts of files, haven't changed. Robocopy doesn't do any intelligent handling of identical parts of files. The best it can do is look at sizes and timestamps.

    5. Re:finally by Zontar+The+Mindless · · Score: 3, Interesting

      rsync is proof that God loves us and wants us to be happy.

      --
      Il n'y a pas de Planet B.
    6. Re:finally by Shag · · Score: 1

      Well, you can't just go chasing after every so-called protocol some Finn throws out there, you know.
      Clearly Microsoft just felt it best to wait 20 years for the spec to settle down enough that it would attract a few users.

      --
      Village idiot in some extremely smart villages.
    7. Re: finally by Gr8Apes · · Score: 1

      It's more like 2 decades since ssh first hit the internet. And I came here to retract the other day's comment that MS still didn't support the industry standard, well, will soon support the standard...

      I agree with the AC however, cygwin is a pain, enough so that I switched to Linux and macs to get real shell support. Granted, since I stopped running any windows at all more than 5 years ago, I can't state that cygwin still sucks, as I haven't seen it in that time.

      --
      The cesspool just got a check and balance.
    8. Re: finally by drinkypoo · · Score: 1

      I agree with the AC however, cygwin is a pain, enough so that I switched to Linux and macs to get real shell support.

      If you expect it to play well with AD, prepare to be disappointed. Otherwise, I don't see the problem.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    9. Re: finally by Gr8Apes · · Score: 1

      AD doesn't play well with anyone. It's still a crappy directory and I don't think anything will ever change that short of a wholesale replacement.

      --
      The cesspool just got a check and balance.
    10. Re:finally by Shirley+Marquez · · Score: 1

      That's true if you're using your own computer. But if you are on somebody else's computer (perhaps because you are a traveling computer technician) and you need SSH access to something (like, say, the customer's router) this could be a significant time saver.

  2. excellent by Anonymous Coward · · Score: 5, Funny

    now you can use Windows computers the way they were meant to be used, as dummy linux clients

    1. Re:excellent by drinkypoo · · Score: 1

      now you can use Windows computers the way they were meant to be used, as dummy linux clients

      I've been doing that for so long I've actually given Chameleon money (for Xoftware.) No, wait. Except the last time I actually wanted to do it was years ago, because it's been years since I had any Unix-specific machines. Now it's just PC Unix. I just threw away my last Unix machines, a POWER1 and an Indy R4400SC@200MHz. It wasn't worth dusting them off.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  3. What do they need to contribute back? by danbob999 · · Score: 1

    I mean, they will take OpenSSH, compile-it for Windows, and make sure Power Shell is the default login shell. Then what? What piece of code could the Open SSH project want from Microsoft exactly?

    1. Re:What do they need to contribute back? by viperidaenz · · Score: 3, Informative

      What piece of code would the Open SSH project possibly want from any developer?

      It's not like it's defect-free software that requires no more development.
      https://bugzilla.mindrot.org/s...

    2. Re:What do they need to contribute back? by GungaDan · · Score: 2

      I think it will be the MS cli interface helper, sshclippy. "It looks like you're trying to ssh into a remote server. Wouldn't you like to use RDP instead?"

      --
      Eloi are stupid, throw morlocks at them!
    3. Re:What do they need to contribute back? by silas_moeckel · · Score: 2

      Probably the best thing they can do is throw resources at it, hire an existing dev to do it full time sort of thing.

      --
      No sir I dont like it.
    4. Re:What do they need to contribute back? by Burdell · · Score: 2

      You obviously haven't ported OpenSSH to a different OS before. Even among Unix/POSIX-like OSes, there is significant variance between platforms that something like OpenSSH has to deal with. Go look at the diff between OpenBSD OpenSSH and portable OpenSSH (for all the other supported platforms).

      Also, portable OpenSSH uses extended security features that tend to be platform-specific (but useful enough to make it worthwhile to use on each specific system). I expect that there is Windows security functionality that doesn't map onto the current OpenSSH setup (but is worth extending OpenSSH to use).

      I really hope that Microsoft makes a native port of portable OpenSSH to Windows. Nothing against the Cygwin folks (the Cygwin OpenSSH is great), but a native port that is more integrated into the "Windows" way of doing things would be good.

    5. Re:What do they need to contribute back? by exomondo · · Score: 1

      I mean, they will take OpenSSH, compile-it for Windows, and make sure Power Shell is the default login shell. Then what?

      Then they have a vested interest in it so should contribute to maintaining it, even widely-used open source projects (PGP and OpenSSL for example) are often woefully under-resourced. It isn't as though OpenSSH is some bug-free, perfect product that requires no maintenance.

  4. I wonder by John+Allsup · · Score: 3, Funny

    Are M$ getting sensible in their old age?

    --
    John_Chalisque
    1. Re:I wonder by kosmosik · · Score: 2, Informative

      They have no choice. Well they could just stick with Windows Server and Windows Clients but it actually happens that they are offering Linux as a product/service (in their Cloud). So why not embrace and extend methods to manage Linux via their tools? In my opinion this is good trend.

    2. Re:I wonder by Penguinisto · · Score: 1, Insightful

      Sensible? Dunno... Desperate? Probably.

      --
      Quo usque tandem abutere, Nimbus, patientia nostra?
    3. Re:I wonder by the_povinator · · Score: 5, Informative
      The linked-to blog contains an interesting statement which could be interpreted as bashing Ballmer:

      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.

      --
      The .sig is dead, and I believe I had a hand in killing it.
    4. Re:I wonder by slaker · · Score: 3, Interesting

      The new Microsoft CEO is much more comfortable with FOSS software. We're also seeing initiatives to support Docker containers on Windows and apt/yum/ports style software repositories and I don't think we'd have gotten any of that if Ballmer were still in charge.

      --
      -- I wanna decide who lives and who dies - Crow T. Robot, MST3K
    5. Re:I wonder by GungaDan · · Score: 1

      "We're also seeing initiatives to support Docker containers on Windows"

      Not exactly. What you're seeing is an initiative to support docker-for-windows containers on windows. They're fragmenting docker, not seeking interoperability.

      --
      Eloi are stupid, throw morlocks at them!
    6. Re:I wonder by JebusIsLord · · Score: 2

      You guys are so jaded, it's insufferable.

      Back in the Real World, we use PowerShell to automate all sorts of processes. Particularly provisioning VDI. while lots of non-MS stuff has PowerShell APIs (VMware, Citrix etc.) sometimes you want to execute a remote command on a device that only supports SSH. Like power up a blade PC, or add a static route to a switch. Sounds like they're going to make that possible. Awesome!

      --
      Jeremy
    7. Re:I wonder by exomondo · · Score: 1

      You guys are so jaded, it's insufferable.

      If they're adapting to a changing world they're "desperate", if they're continuing on their existing course they're a sinking ship. Either way their record revenue and profits in the past year are a bad thing, Microsoft is going down hard which means the Year of the Linux Desktop is right around the corner ;)

    8. Re:I wonder by hweimer · · Score: 1

      Are M$ getting sensible in their old age?

      Depends on how they will license this feature. If it's like Remote Desktop, then you can have at most one active SSH session (two for Windows Server) at a given time unless you pay extra.

      --
      OS Reviews: Free and Open Source Software
    9. Re:I wonder by Penguinisto · · Score: 1

      Back in the Real World, we use PowerShell to automate all sorts of processes.

      Judging by way too much time spent among 'doze admins, I vehemently disagree: 10% of 'you' use PowerShell to automate things and pass around the resulting scripts... the other 90% of you still clicky-clicky in places like Task Scheduler. ;)

      --
      Quo usque tandem abutere, Nimbus, patientia nostra?
    10. Re:I wonder by Barabul · · Score: 1

      I wonder what's wrong with OpenSSH now... If M$ is starting to use something, I'm getting suspicious.

    11. Re:I wonder by exomondo · · Score: 1

      Yes that's my point, it doesn't matter what they're doing there's always detractors trying to spin it to be a negative.

    12. Re:I wonder by shutdown+-p+now · · Score: 1

      It goes beyond "more comfortable", and into "what the fuck were we thinking when we actively avoided using and building on F/OSS". Which is perfectly sensible from a business perspective, because the old MS attitude towards F/OSS was basically the equivalent of tying one's hands behind one's back to avoid accidental masturbation, and then trying to compete in a craft competition. It only works when the game is rigged in your favor in advance, and that doesn't last.

    13. Re:I wonder by jwhitener · · Score: 1

      apt/yum/ports style software repositories

      Where is the news about this? Was it an official announcement of some sort? I'd love to be able to do something like 'sudo apt-get install vlc' on windows.

  5. Re:Timeo Danaos et dona ferentes by Anonymous Coward · · Score: 1

    Not this time. SSH isn't a company and no one owns it. It is a universal basic tool/technology. You can't extinguish something like that - it's here to stay. MS is just trying to promote the feature of not having to install PuTTY or Cygwin to make it useful out of the box.

  6. Cygwin by ls671 · · Score: 4, Interesting

    You mean I don't need to install Cygwin anymore like I have been doing for the past 15 years to accomplish just that?

    Next proposal: implement rsync natively...

    --
    Everything I write is lies, read between the lines.
  7. Re:Timeo Danaos et dona ferentes by the_B0fh · · Score: 1

    Under the new guy, they don't seem to be doing that as much.

  8. Odd thoughts: by Penguinisto · · Score: 4, Insightful

    * I remember joking about connecting to a 'doze server via SSH in 2005. Usually the response was a disgusted shiver.

    * I guess Microsoft finally got sick of seeing PuTTY's hegemony in the terminal/SSH client market, and decided that this, *this* was a market they could finally dominate in this day and age?

    * I shudder to think of how bastardized the command options are going to be, given the PowerShell's habit of using stuff like '-omgLookAtThisMassiveOptionNamingConvention', to the point where they have to alias a frickin' option...

    Ah well, good on 'em. I'll stick with using Linux and OSX clients, thanks much.

    --
    Quo usque tandem abutere, Nimbus, patientia nostra?
    1. Re:Odd thoughts: by viperidaenz · · Score: 2, Insightful

      * I shudder to think of how bastardized the command options are going to be, given the PowerShell's habit of using stuff like '-omgLookAtThisMassiveOptionNamingConvention', to the point where they have to alias a frickin' option...

      Linux is full of aliased options.
      Can you explain the difference between:
      cp -r
      cp -R
      cp --recursive

      There are long options too, with no aliases
      ls --dereference-command-line-symlink-to-dir

    2. Re:Odd thoughts: by Anonymous Coward · · Score: 1, Insightful

      Man cp

        you windows ass clown

    3. Re:Odd thoughts: by Penguinisto · · Score: 4, Informative

      The big difference is that *nix started with short easy-to-type options... PowerShell did it the other way 'round. The difference is stark, truth be told; the former grew from a CLI mindset, whereas the latter is easing (back) into CLI from a GUI mindset.

      TBH, I rarely if ever use --option unless I have to, since the original -o is right frickin' there.

      --
      Quo usque tandem abutere, Nimbus, patientia nostra?
    4. Re:Odd thoughts: by kosmosik · · Score: 5, Insightful

      > I guess Microsoft finally got sick of seeing PuTTY's hegemony in
      > the terminal/SSH client market

      You guess wrong. There is basically no market for terminal/ssh clients. And if it is it is peanuts. There is HUGE market for centralized management tools like OpenStack, Chief, Puppet, etc. - and that is at what Microsoft is aiming. Basically they need SSH compatibility to manage Linux boxes and they want and they do (Azure) manage Linux boxes.

      > I shudder to think of how bastardized the command options are going
      > to be, given the PowerShell's habit of using stuff like
      > '-omgLookAtThisMassiveOptionNamingConvention', to the point where
      > they have to alias a frickin' option...

      Oh like in GNU/Linux/BSD utils are just kosher and standardized... please... each tiny utility comes from few other schools of command line switches and are usually different. Threre is no standardisation of switches in commands used on Linux. Usually if you need to do something comples (that you haven't yet memorized) you need to open other terminal window with manual to do it. Of course this is a different *convention* from PowerShell but PS is not that bad - it is just different.

      > Ah well, good on 'em. I'll stick with using Linux and OSX clients, thanks much.

      Oh OSX clients and bastardized commands. Come on... ;)

      And for the record I really like Linux and use it all the time. I also happen to use Windows and OSX as clients and they are also fine. Any effort to bring more interoperability between those systems is welcome in my opinion.

    5. Re:Odd thoughts: by nmb3000 · · Score: 4, Insightful

      Well, when you're typing out Unix commands on an teletype that's 80 characters wide, creating short options first made a lot of sense.

      Powershell's approach is more verbose, but it's also a little more readable (same as long options in Linux), especially when you're dealing with things more complicated than "copy a file", such as "create AD forest trust" or "reconfigure Exchange retention policies". That said, I still tend to use short options by default.

      One thing nice about Powershell is that you can truncate options as long as they're not abmiguous. So you can make -Recursive be -Rec, or even -R, as long as there's not also a -Recreate or -Recover options. That seems to be a nice middle-ground.

      --
      "What do you despise? By this are you truly known." --Princess Irulan, Manual of Muad'Dib
      /)
    6. Re:Odd thoughts: by rcoxdav · · Score: 1

      I wish that with Power-shell Microsoft would take the Cisco approach to the command line, where all you have to do is do the shortest unique version of a command or switch.

    7. Re:Odd thoughts: by bondsbw · · Score: 2

      PowerShell did it the other way 'round.

      Not really. PowerShell had many short commands since 1.0 in addition to the long versions... it's not that PS "started" one way or the other.

      the former grew from a CLI mindset, whereas the latter is easing (back) into CLI from a GUI mindset.

      Also not true. There's nothing about the long syntax that grew from a GUI mindset. It was created for consistency and ease of learning.

      PowerShell primary commands are formatted Verb-Noun. This is awfully convenient, as a PowerShell user can guess hundreds of commands just by learning a few verbs and a few nouns. I just counted, and to understand half of the 300+ built-in commands on my machine requires only learning 7 verbs.

      --
      All my liberal friends think I'm a conservative, all my conservative friends think I'm a liberal.
    8. Re:Odd thoughts: by tlhIngan · · Score: 2

      Linux is full of aliased options.
      Can you explain the difference between:
      cp -r
      cp -R
      cp --recursive

      There are long options too, with no aliases
      ls --dereference-command-line-symlink-to-dir

      Easy. The difference is you're using GNU.

      UNIX traditionally only has short options, which are parsed using getopt(3). GNU adds getopt_long(3) which adds the long options, but I think only to GPL applications because you must link against a GPL library (libiberty?) in order to use them.

      Using getopt() to parse your command line is extremely common and makes your utility work just like all the other utilities.

      Using getopt_long() only works if you have GNU.

    9. Re:Odd thoughts: by SirSlud · · Score: 1

      Powershell supports abbreviated switches.

      --
      "Old man yells at systemd"
    10. Re:Odd thoughts: by SgtAaron · · Score: 1

      One thing nice about Powershell is that you can truncate options as long as they're not abmiguous. So you can make -Recursive be -Rec, or even -R, as long as there's not also a -Recreate or -Recover options. That seems to be a nice middle-ground.

      Interesting tidbit. Reminds of the linux ip command, such as "ip a a 192.xxx" instead of "ip address add 192.xxx". There are others I'm sure, but that command I end up using a lot.

    11. Re:Odd thoughts: by DaHat · · Score: 1

      PowerShell primary commands are formatted Verb-Noun. This is awfully convenient, as a PowerShell user can guess hundreds of commands just by learning a few verbs and a few nouns.

      Not to mention built in tab completion for arguments where you can read the man page after finding the cmdlet to know which arguments you will have to use, or just quickly tab through to what you know is going to be there.

    12. Re:Odd thoughts: by safetyinnumbers · · Score: 1

      You can tab-complete commands and options, too.

    13. Re:Odd thoughts: by sexconker · · Score: 2, Insightful

      help copy
          you Linux asspie

      As someone who spends a lot of time RTFMing (often on shit I have no intention of ever using), I'll say that MS's documentation shits all over the inconsistent hodge podge you get on the Linux side. Thorough, explicit, detailed.

    14. Re:Odd thoughts: by sexconker · · Score: 1

      Beyond that, you can get a list of all the available commands and the number and types of parameters they take.

    15. Re: Odd thoughts: by Gadget_Guy · · Score: 4, Informative

      I just tried typing help copy on my computer and it worked, yet I don't have an msdn subscription. That said, help is not installed by default. From the equally free online version of Microsoft's documention:

      Windows PowerShell 3.0 does not come with help files. To download and install the help files that Get-Help reads, use the Update-Help cmdlet. You can use the Update-Help cmdlet to download and install help files for the core commands that come with Windows PowerShell and for any modules that you install. You can also use it to update the help files so that the help on your computer is never outdated.

      Finally, if you want to write help for your own Powershell code, just type help about_Comment_Based_Help for details on how to do this. No need to buy any licences.

    16. Re:Odd thoughts: by drinkypoo · · Score: 1

      Basically they need SSH compatibility to manage Linux boxes and they want and they do (Azure) manage Linux boxes.

      Almost. They need SSH compatibility to be managed by Linux boxes, yet with proper NT authentication instead of the band-aid which is Cygwin.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    17. Re:Odd thoughts: by metamatic · · Score: 2

      According to the man page on my Mac:

                The getopt_long() and getopt_long_only() functions first appeared in GNU
                libiberty. The first BSD implementation of getopt_long() appeared in
                NetBSD 1.5, the first BSD implementation of getopt_long_only() in
                OpenBSD 3.3. FreeBSD first included getopt_long() in FreeBSD 5.0,
                getopt_long_only() in FreeBSD 5.2.

      --
      GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
    18. Re:Odd thoughts: by donaldm · · Score: 1

      * I shudder to think of how bastardized the command options are going to be, given the PowerShell's habit of using stuff like '-omgLookAtThisMassiveOptionNamingConvention', to the point where they have to alias a frickin' option...

      Linux is full of aliased options. Can you explain the difference between:
      cp -r
      cp -R
      cp --recursive

      There are long options too, with no aliases ls --dereference-command-line-symlink-to-dir

      If you look at the man page of "cp" there is no difference, it really is left up to you what option you like. Personally I use "cp -rp" since I also like to preserve the information on the directories and files I am copying, although when copying to a MS Windows file-system you many have trouble with letters like ":".

      When using the command line you can never go wrong with the"man" command. If you are not sure or just want to search for a pattern then use the "-k" option to search the manual entries. Of course you can use "--apropos" if you wish which does the same thing or use "-K" or "--global-apropos" which are similar but different. The most important thing is to have fun.

      --
      There ain't no such thing as proprietary standards only proprietary formats. Standards are by definition open.
    19. Re: Odd thoughts: by KGIII · · Score: 1

      This may no longer be true but if you had a Microsoft email you could log in and add stuff to Help pages online if you were an MVP or similar.

      --
      "So long and thanks for all the fish."
    20. Re:Odd thoughts: by AFCArchvile · · Score: 4, Interesting

      My biggest gripe with some Powershell commands is that their defaults are not as time-tested as the near-equivalent *nix commands. Probably the best example is "get-winevent -log System" showing all of the events in the System log (which on a given system, might be as large as 4 GB in size).

      Sure, that's functionally the equivalent of performing "sudo cat /var/log/messages", but of course one could run "sudo less /var/log/messages" and obtain the powerful features of less, such as forward and backward navigation, and not loading the entire file into memory (this is a key weakness of "get-winevent" in general; if its output is piped, it is forced to load everything, therefore forcing the user to use the "-MaxEvents (int64)" switch to limit to the newest X events... and this is also setting aside the fact that Windows sorts by newest events first by default, though this can be changed with the "-Oldest" switch).

      The Windows event system in general is strange when looking back at it. You have the post-Vista API (accessible with "get-winevent" or the Event Viewer), and the pre-Vista API (accessible with "get-eventlog"). There are some event sources whose events aren't rendered properly (i.e.: the description of the event will read something like "The description for Event ID X in Source Y could not be found. It contains the following insertion strings: (text)" ( https://support.microsoft.com/... ). Some will render properly only in the post-Vista API, but not the pre-Vista API. Others will render properly only in the pre-Vista API, and not the post-Vista API. To my utter surprise and bafflement, event sources such as "Ntfs" and "mpio" fall into the category of rendering properly in pre-Vista API, but not post-Vista API... in Windows Server 2012. That's right, for some reason, the events of a couple of the most critical event sources could not be fixed.

      Powershell is nice as a scripting language, but it's a bear as a command shell. There have been years of complaints of slow loading, especially on systems with high disk I/O activity and/or stalled disks (it doesn't even have to be the system drive; ANY stalled disk on a Windows system may cause Powershell to stall eternally until the system is rebooted; I've seen this for years, in Server 2008 as well as Server 2012). The main reasons why the Command Prompt hasn't been entirely supplanted is because it's lightweight, and has stood the test of time for over 2 decades in NT.

      I recently changed careers from a mostly-Windows role to a mostly-Linux role, and it feels great to work with bash, even if I still haven't memorized most of the higher esoteric layers of shell scripting. It feels like the shell was designed for the OS, instead of being duct-taped into a jack-of-all-trades role. The way I log into a RDP-windowed Windows Server 2012 system is visual humor in itself: I right-click the taskbar to click "Task Manager", use it to open "File -> New Task", run "cmd.exe", maybe start Powershell off to the side, and don't EVER click on the Start corner (or button if it's 2012 R2) or the Charms bar. Control panel? Run "control". Computer management? "compmgmt.msc" still works. Search for a file? "dir /b /s" for it, or else creative uses of "find" will work. But don't EVER call up the abomination that is the Start Screen.

      --
      "Ancillary does not mean you get to rule the world." --U.S. Circuit Judge Harry Edwards, speaking to the FCC's lawyer
    21. Re:Odd thoughts: by bmo · · Score: 1

      Powershell's approach is more verbose, but it's also a little more readable

      I beg to differ. I really, really beg to differ.

      long.verbose.commands.that.grab.objects.are.impossible.to.read.

      --
      BMO

    22. Re:Odd thoughts: by donaldm · · Score: 2

      Well, when you're typing out Unix commands on an teletype that's 80 characters wide, creating short options first made a lot of sense.

      Graphical interfaces have been around since the 1970's and on workstations or any graphical interface you can display the equivalent of a standard 80x24 tty terminal or any sized terminal (within reason of course) so that was not the reason why creating so called short options made sense. Basically Unix people preferred efficiency in typing over long winded typing. As an example why type "copy" when you can type "cp" or "ls" when you wish to list files and directories. You can even alias commands and their options if you are using them allot so there is even less typing to do.

      You should realise that Powershell is basically a copy of the Bourne Shell with allot of Microsoft additions so that they can say this is our unique command line shell.

      --
      There ain't no such thing as proprietary standards only proprietary formats. Standards are by definition open.
    23. Re:Odd thoughts: by viperidaenz · · Score: 1

      I was pointing out there are plenty of aliases for options and tediously long options in other operation systems other than Windows.

      I know what the options do, I got them from a man page.

    24. Re:Odd thoughts: by viperidaenz · · Score: 1

      Except you can use tab to auto-complete options in PowerShell, not so much in any other shell.

    25. Re:Odd thoughts: by viperidaenz · · Score: 1

      The man page was from http://unixhelp.ed.ac.uk/ so not specifically GNU.

    26. Re:Odd thoughts: by nmb3000 · · Score: 1

      Agree with pretty much everything you said, but especially

      Powershell is nice as a scripting language, but it's a bear as a command shell.

      I've tried to use Powershell as my shell but it just doesn't feel right; however, I've written several scripts for it for file manipulation and system administration tasks. It's also nice for administering Microsoft stuff like Exchange, both as a shell and scripting engine.

      --
      "What do you despise? By this are you truly known." --Princess Irulan, Manual of Muad'Dib
      /)
    27. Re:Odd thoughts: by a_claudiu · · Score: 1

      One thing nice about Powershell is that you can truncate options as long as they're not abmiguous. So you can make -Recursive be -Rec, or even -R, as long as there's not also a -Recreate or -Recover options. That seems to be a nice middle-ground.

      Sounds good and cool but what is happening if "Recursive" is the only option now and tomorrow not (adding a new option/functionality Recover)? Your script which was running fine before will create an ambigous command and stop working in the new version of the shell.

    28. Re:Odd thoughts: by amias · · Score: 1

      but its a wired autocomplete , i like a list of options not choose the first one.

      its a dubious assumption that the first option is the most likely

      --
      [site]
    29. Re:Odd thoughts: by amias · · Score: 1

      useless use of cat award to you anonymous coward

      sudo less /var/log/messages instead of sudo cat /var/log/messages | less

      and

      sudo -i if you want to make an interactive shell

      also , never ever ever leave your shell unattended , just lock your screen

      guesisng those three ommisions where why you posted as anonymous

      --
      [site]
    30. Re: Odd thoughts: by MurukeshM · · Score: 1

      Didn't Windows drop the Unix subsystem in recent versions (SUA or whatever it was called)?

    31. Re:Odd thoughts: by sjames · · Score: 1

      They have been available, but were not by any means the default. MOST Unix systems were accessed over a text terminal which might include a 300 baud modem (or even slower). Possibly using a hard copy terminal. That made short commands a good thing.

      It's funny though how often that keeps coming in handy. I have been very grateful for short commands when fixing a networking problem over the very network that was having the problem. Since I didn't have to get much through it to implement the fix, it was possible.

    32. Re:Odd thoughts: by sjames · · Score: 1

      Windows is wierdnix at best. CRLF indeed.

    33. Re:Odd thoughts: by 0100010001010011 · · Score: 1

      Bash auto completion?

    34. Re:Odd thoughts: by swb · · Score: 1

      It's also nice for administering Microsoft stuff like Exchange, both as a shell and scripting engine.

      It's not just nice, it's become mandatory as Microsoft strips development resources from the Exchange GUI, either to just save money or to force SMBs into Office365 because they've made basic Exchange management/configuration onerous to novice admins.

    35. Re:Odd thoughts: by drinkypoo · · Score: 2

      Bash auto completion?

      Yep, every time a Microsoftie thinks that Windows has something new, I lol.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    36. Re:Odd thoughts: by pnutjam · · Score: 1

      yes, but I can look all those up if I know cp and --help. I can't look up a powershell command if I can't remember it fully.

    37. Re:Odd thoughts: by jonesy16 · · Score: 1

      Oh like in GNU/Linux/BSD utils are just kosher and standardized... please... each tiny utility comes from few other schools of command line switches and are usually different. Threre is no standardisation of switches in commands used on Linux. Usually if you need to do something comples (that you haven't yet memorized) you need to open other terminal window with manual to do it. Of course this is a different *convention* from PowerShell but PS is not that bad - it is just different.

      Couldn't agree more. In fact, on the topic of SSH, it baffles me that the port option is different between ssh and scope. In ssh it's "-p" but in scp it's "-P". Who made that decision?

    38. Re:Odd thoughts: by deuce4208 · · Score: 1

      yep, I got into the habit of using the long options in any of bash scripts. It not only makes it more readable for me later on but also for the next person so they don't have to go look up all the options that I used. Now if I'm just typing the commands at the command line then I'll use the short options.

    39. Re:Odd thoughts: by fang0654 · · Score: 1

      He's refering to when you are forced to use powershell, because the gui doesn't support feature X. It is great the Windows is moving towards a command linable setup. It sucks that they are dropping support for non-command line administration.

    40. Re:Odd thoughts: by geminidomino · · Score: 1

      There is basically no market for terminal/ssh clients

      That's kind of depressing. I remember using one as part of a proprietary HIS system, back in the day. It had an cool scripting system (if it was scriptable in something that wasn't a cut-down version of VB, it would have been awesome) that could wait for output (like "expect"). I always hoped something like that would come out for general use, even if it was pay. Putty's minimalism is perfect 90% of the time, but it took the other 10% with it.

    41. Re:Odd thoughts: by viperidaenz · · Score: 1

      If you keep pressing tab, it cycles through all matching options to the text you typed.

    42. Re:Odd thoughts: by shutdown+-p+now · · Score: 1

      To me, the main annoyance of bash is the constant need to use grep, sed and friends to parse structured data from unstructured stdout, and also many traps with variable expansion, and need to use hacks such as xargs. But I agree that it matters more when writing scripts than when using it as an interactive shell.

      OTOH, the huge problem of PS is that it only works on objects in memory. If you are interoping with a classic console app that writes to stdout, that means that you're getting a string. If you don't have enough memory for that, too bad. I also don't like the .NET object model in that role (it's fine as is, just not very appropriate as a generic structured data interop protocol).

      If I had to make a list of things for a perfect shell, I'd say it should use a consistent naming scheme more like PS (but with aliases) and similar expansion rules, but get rid of the notion of passing objects around, and stick to text stream - but also define a standard structured format for them, which would probably be JSON for the sake of not reinventing the wheel.

    43. Re:Odd thoughts: by amias · · Score: 1

      i know , i was saying that mostly is the wrong choice

      it must have been obvious to the designers how irksome it would be
      to people who are used to the bash tab complete.

      --
      [site]
    44. Re:Odd thoughts: by kjhambrick · · Score: 1

      ... Sure, that's functionally the equivalent of performing "sudo cat /var/log/messages", but of course one could run "sudo less /var/log/messages" and obtain the powerful features of less, such as forward and backward navigation, and not

      Alas ... this was true until the systemd virus infected Linux Machines ...

      -- kjh

    45. Re:Odd thoughts: by Blue23 · · Score: 1

      Disagree "it's more readable" in all cases. If I'm chaining together a couple of commands, piping the output from one to the next, in *nix I can see them all in my terminal window while with long options from powershell the earlier parts of the line are no longer visible. And no, that's not a corner case, that a common use case.

      It is more readable for scripting though.

      The truncate option seems the worst of all possible worlds on the other hand. It breaks scripts when they add functionality, so -Rec is no longer unambiguous. Plus I do -R, you do -Rec, someone else does -Recurs, someone else types ti out the whole way. Ugly to maintain over time.

      --
      LITTLE GIRL: But which cookie will you eat FIRST? C. MONSTER: Me think you have misconception of cookie-eating process.
    46. Re:Odd thoughts: by luxifr · · Score: 1

      Alas ... this was true until the systemd virus infected Linux Machines ...

      shut the fuck up... have you even seriously used it yet?

      you have to learn a completely new init system - I'll give you that... but you can transport unit files from one system to another and they are very likely to work... you can override specific properties of the default units (try that with init scripts +lol+), you don't have to deal with loads of services writing to syslog and others writing their own logs either in their own subdirectory or in /var/log directly and so on and so forth... there's so much goodness in systemd...

      too lazy to learn that new-fangled stuff? maybe you should switch careers away from IT entirely... seriously - get lost.. do something social or artsy or maybe become a truck driver or something... it's people like you who fuck things up because something works slightly differently than they've learned during their enterprise linux 2 certification, who cannot read plain english verbose error messages in logs or at least copy/paste them into google and still state that they know it all better and the fault lies within the stupid software containing stupid bugs a stupid programmer overlooked... you're that kind of guy...

  9. Using source from OpenSSH ... by Alain+Williams · · Score: 2, Interesting

    In which case they will have to release the code that corresponds to binaries - would be useful for checking that there is not some little tweaks to help the NSA -- but if they have already put those into the system DLLs (eg for encryption) we would not really know. Maybe I am too cynical but I am very suspicious of what they did to skype.

    1. Re:Using source from OpenSSH ... by WillAffleckUW · · Score: 1

      In which case they will have to release the code that corresponds to binaries - would be useful for checking that there is not some little tweaks to help the NSA -- but if they have already put those into the system DLLs (eg for encryption) we would not really know. Maybe I am too cynical but I am very suspicious of what they did to skype.

      All your base is belong to NSA. Currently there are no non-frontdoor secure systems.

      --
      -- Tigger warning: This post may contain tiggers! --
    2. Re:Using source from OpenSSH ... by cbhacking · · Score: 1

      Does the OpenSSH license prevent making the code proprietary? I'd have guessed it was under a BSD license, which permits closed-source derived works.

      --
      There's no place I could be, since I've found Serenity...
  10. Re:Cygwin by the_B0fh · · Score: 4, Informative

    No. Cygwin runs everything under one process. This will run separate processes for each SSH session, with privilege separation. Cygwin also uses its own /etc/passwd. This will use local windows users, and, hopefully, AD users.

    And code will be sent upstream.

    Much better if this works out.

  11. Re:Will Power Shell become useful? by chispito · · Score: 1

    Or Windows still won't be able to run Power Shell scripts by default?

    It takes 15 seconds to change this setting. If you don't know how to google the correct cmdlet, you probably didn't have anything useful to do in PS anyway. If you're in an enterprise environment, use GPO. Besides, there are plenty of things to do on the fly in the shell that do not require script execution.

    --
    The Daddy casts sleep on the Baby. The Baby resists!
  12. Re:Timeo Danaos et dona ferentes by Penguinisto · · Score: 1

    Betting the dude who wrote PuTTY is not in a good mood right about now...

    But you know? I don't believe that Microsoft can really do much of anything in this direction; they're still charging massive amounts of money to license inferior operating systems and server application suites (If only someone would make a usable *nix-based groupware application... *sigh*).

    --
    Quo usque tandem abutere, Nimbus, patientia nostra?
  13. Re:Nice by ArmoredDragon · · Score: 3, Informative

    Maybe. Assuming Microsoft makes a proper SSH client that is as good as PuTTY, instead of software like that piece of shit called HyperTerminal from way back when, which almost always couldn't establish a proper working terminal with anything, had basically no file transfer support (or rather, it had very buggy and limited support,) and required a very annoying (and mostly pointless) setup process each time you wanted to connect to a different host.

    Then again, why not just fork and bundle PuTTY? But do something to make the sessions easily exportable (I really hate how PuTTY stores those in the registry by default.)

    In fact, it would be awesome if the registry just disappeared entirely. I haven't met anybody who actually likes it, and god knows it's been a dream come true for malware authors who want to hide shit (easy to do since it's so big, maze-like, and unwieldy for anybody to sift through.)

  14. Re:Timeo Danaos et dona ferentes by MightyMartian · · Score: 4, Funny

    Too bad opening an SSH into Windows will drop you into the complex abomination that is PowerShell.

    --
    The world's burning. Moped Jesus spotted on I50. Details at 11.
  15. Well... by angelbar · · Score: 1
    --
    -no sig today-
  16. Fuck you dice ... by Anonymous Coward · · Score: 1

    And now I see Dice is embedding videos in the main page.

    Fuck you Dice, you are making Slashdot shittier and shittier.

    When we stop coming, don't whine.

    1. Re:Fuck you dice ... by brantondaveperson · · Score: 1

      How about you stop coming, and then we won't have to hear you whine?

  17. Re:Timeo Danaos et dona ferentes by mi · · Score: 1, Insightful

    Not this time. SSH isn't a company and no one owns it.

    Kerberos was not either.

    MS is just trying to promote the feature of not having to install PuTTY

    Just replace "PuTTY" with "Netscape" and you'll understand, what I'm talking about. Hopefully...

    --
    In Soviet Washington the swamp drains you.
  18. Re:Timeo Danaos et dona ferentes by ls671 · · Score: 2

    name of the company: SSH Communications Security

    since they grabbed a lot from open source in the beginning, I guess they allowed openssh to develop an open source version.

    The original SSH version is still proprietary nowadays.

    --
    Everything I write is lies, read between the lines.
  19. Re:Cygwin by kosmosik · · Score: 1

    > Next proposal: implement rsync natively...

    Rsync fails on Windows/Unix interactions due to basic filesystem architecture. There are lot of differences betweeen NTFS and *nix filesystems like ACLs, timestamping and so on. So I don't really get how Microsoft could change rsync to work with NTFS since the problem is not in rsync but in general differences in which filesystems work - f.e. how to accurately map Windows ACLs to unix ACLs?

    Also I don't think that rsync support is something Microsoft clients (as in people who buy their products) are looking for. Ability to run Linux systems via GPO or SCCM/SCOM/whatever it is named now is another matter.

  20. Re:Cygwin by kosmosik · · Score: 1

    Not to mention such trivial things as how to translate paths f.e. C:\Users\foo to /home/foo or whatever. I don't think it is a problem which rsync should solve - it (if Microsoft ever embraces such idea) should be solved in lower layer than userland.

  21. Re:Cygwin by mlts · · Score: 1

    The best managing (IMHO) of Windows ACLs with UNIX permissions I've seen would be the EMC Isilons. You can lop off all permissions except the bare UNIX ones (user, group, rwx), use Windows permissions for everything, and stuff in between.

    Adding GPO friendliness to Linux would go a long way in getting more boxes on the desktop The biggest reason why Windows is the primary desktop OS is because it has a lot of management tools.

    Now here is the ironic thing. MS doesn't lose if Linux gains. For example, they make money on almost all Android devices, and if MS moves to selling their programs Linux, they will be able to tell distribution makes exactly what they want, and the distro makers will do it, just because there would be a high demand for a Linux box to do AD, SQL Server, or other tasks.

    tl;dr, both MS and Linux would win big. Especially if Windows had the ability to run Linux applications in Hyper-V wrapped Docker containers.

  22. Re:Cygwin by ls671 · · Score: 1

    You seems like you have been trying to use it, haven't you? Like most open source solutions, you might have to tweak it a bit to get it to do what you want and then again, you have to make compromise. But be assured it works in a satisfactory way for me. Just get a proprietary solution if you can't make it work as you wish. Oh my god, I just realized you sounded like a guy that would choose the later solution ;-)

    I know what you are saying although and there is some truth to it.

    Take care man ;-)

    --
    Everything I write is lies, read between the lines.
  23. Will it be a PITA to use? by ulzeraj · · Score: 1

    Will this work out of the box? Because you basically have to go into the server you are accessing it and type some really weird shit on winrm to be able to even run scripts and god forsake you if you want to access the console remotely. Its so fucking annoying that I've met some people who just disable HTTPS and go straight for HTTP with basic authentication.

    1. Re:Will it be a PITA to use? by un4given · · Score: 1

      Of course it will be a PITA to use. It's Windows, and all of the administration tools have devolved over the years. You have horrible GUI tools, like the dreaded IIS manager, ridiculous CLI commands, like ntdsutil, diskpart and netsh. Why would this be any different?

  24. Re:Timeo Danaos et dona ferentes by chispito · · Score: 2

    complex abomination

    That's funny. I find PS slow and lacking basic functionality in a few areas, but "complex" is one of the last criticisms I would make. Compared to DOS or Bash, it's very straightforward and intuitive.

    --
    The Daddy casts sleep on the Baby. The Baby resists!
  25. Rule of tumb by ls671 · · Score: 2

    ssh and openshh: ssh is proprietary
    solaris and opensolaris: solaris is proprietary
    apache and no openapache: apache is open source

    --
    Everything I write is lies, read between the lines.
  26. Re:Will Power Shell become useful? by danbob999 · · Score: 1

    I know. However it means that I can't use Power Shell in software that I develop since I need to use it on many different PCs. So I am still stuck with .cmd when I need to script something on Windows.

  27. Re:Cygwin by kosmosik · · Score: 1

    > tl;dr, both MS and Linux would win big. Especially if Windows had the
    > ability to run Linux applications in Hyper-V wrapped Docker containers.

    Just run Linux kernel in hypervisor and do some glue to map Linux/UNIX convetions (process management/filesystem/networking/etc.) to Windows host. But that is problematic - you can do it in many ways (like you've said EMC is the way you like it). I guess the problem is that we need to have some standards regarding on how to map such things and the best way possible would be to the vendor (Microsoft) to define that with open and true intentions of interoperability. As you've said everyone would benefit from that.

  28. Come now by s.petry · · Score: 4, Insightful

    You know it's going to be just yet another way of hacking into a Windows box.

    --

    -The wise argue that there are few absolutes, the fool argues that there are no probabilities.

    1. Re:Come now by itsenrique · · Score: 1

      I doubt it will be enabled by default.

  29. Re:Cygwin by kosmosik · · Score: 1

    > You seems like you have been trying to use it, haven't you? Like most
    > open source solutions, you might have to tweak it a bit to get it to do what
    > you want and then again, you have to make compromise.

    Sorry I am an professional - for my clients I advice and implement what is best for them so in general I avoid tweaking (as in unstadarised hacks). Tweaking is good for my home machines but what I do on home machines I would not recommend to clients who just wish to do their business.

    > But be assured it works in a satisfactory way for me.

    What? Rsync and NTFS? I don't know what is satisfactory for you but I assume you that it is not for me. In cases that I would choose to use rsync over f.e. Windows DFS it would just not work - like it will lose Active Directory ACL's. Rsync is fine tool for mirroring archives but it is not compatible in advanced Linux/Windows setups.

    > Just get a proprietary solution if you can't make it work as you wish.

    Which one?

    > Oh my god, I just realized you sounded like a guy that would
    > choose the later solution ;-)

    I would - why not? I am not rms

    > I know what you are saying although and there is some truth to it.

    Why "some" truth? You haven't contradicted any of my arguments. The truth is that Linux and Windows filesystems differ in loads of subtle manners (like timestamping, ACLs, internal compression, namespaces) and rsync as codebase *shouldn't* implement a glue between those systems - that should be hadled *lower* (like Cygwin does).

    Hopefully Microsoft will decide to act on that fact but keep in mind that in their best inerest it is to manage Linux systems, not the other way.

  30. Re:Timeo Danaos et dona ferentes by JebusIsLord · · Score: 2, Insightful

    As long as by "complex abomination" you mean completely standardarized switch syntax with tab completion and integrated help.

    --
    Jeremy
  31. Re:Timeo Danaos et dona ferentes by Anonymous Coward · · Score: 1

    Abomination? It's better than being dropped into bash, zsh, tcsh, or any other Unix shell. Everything in powershell is an object, so you can pipe objects from one program to another. You can access properties of the objects and call their methods. It's really powerful and a lot better than trying to use sed or perl to parse the output of programs in shell scripts. I wish I had something like powershell on Unix systems.

  32. Strange bedfellows. by nimbius · · Score: 3, Insightful

    Losing nearly a billion dollars over an 8 year period, firing four-thousand permanent staff, and being dead last in search and browser rankings will do strange things to you. Steve Ballmer shoulders some of the blame for the nosedive with his nearly cult-like adherence to the redmond ethos of embrace-extend-extinguish in the face of a brand like linux that just can't be killed with it. But to think after 15 years as other slash dotters have commented that this will make any significant dent in the status quo is self-defeating at best.

    SSH gives windows users the ability to do real work, and thats a controversial sentiment but in most large corporations admins that handle LAMP, percona, or hadoop do it from a windows machine by company policy. Microsoft doesn't understand that outside of email and office, the real juggernauts of industry are so far removed from redmonds product line it may as well be a different language entirely. conceding a pittance, this ssh, and promising to commit code to openssh do two things. One, they add continued relevance to windows in an office environment that otherwise is the next prime target to be extinguished as quickly as the home market for windows. Two, they provide code to openssh not because they have any particular valuable insight to add to the project which has handled itself just fine for 15 years, but because they need to ensure their openssh implementation actually works with other well-established and quite serviceable implementations. So don't expect any real innovation.

    --
    Good people go to bed earlier.
    1. Re:Strange bedfellows. by Bing+Tsher+E · · Score: 1

      Losing nearly a billion dollars over an 8 year period, firing four-thousand permanent staff, and being dead last in search and browser rankings will do strange things to you.

      A billion dollars over an 8 year period for a company Microsoft's size is churn in the budget.

      Firing 4000 permanent staff is lean management and a cost reduction initiative.

      Microsoft makes their money from shipping products that people pay for. They don't need to spying on what gets typed into their search engine to sell to third party advertisers. Bing is a loss leader, not their do-or-die revenue bringer.

      they provide code to openssh not because they have any particular valuable insight to add to the project which has handled itself just fine for 15 years, but because they need to ensure their openssh implementation actually works with other well-established and quite serviceable implementations.

      When Microsoft needed a TCP/IP stack for Windows NT, they adopted the industry standard stack that was out there, in the form of the BSD implementation. Most other OS vendors did the same thing. Linux rolled their own stack, and has ended up being the odd kludge with it's own quirks and bugs. Every other OS, including Microsoft, has communications that is much more compatible.

    2. Re:Strange bedfellows. by jwhitener · · Score: 1

      the real juggernauts of industry are so far removed from redmonds product

      I haven't looked at the numbers in a while, but last time I checked (5 years ago maybe?) MS still dominated the small to medium business server market. Of course companies like Facebook, Google, etc.. are not using windows servers as their primary servers, but I'm pretty sure that the sum of small/medium businesses is a fairly huge number of sales.

      While I'm certain that MS would be ecstatic if Google wanted to use windows servers, companies like Google are not what MS develops their servers for. Maybe this embrace of ssh means they are attempting to capture more of that 'juggernauts of industry' market?

      And I can speak from experience that it feels like 50%+ of all schools are nearly 100% windows shops. We are a mix of linux/windows/solaris at my school, but I come across school after school that has bought into the MS platform hook line and sinker. A lot of that has to do with licensing. Once you get licenses for X, you often end up getting new products or existing ones for free. So every time a new project is in the product research phase, it is often faced with "well we could buy company X's linux based product which is really awesome, or we could just use MS product X which we already own as part of a site license".

  33. Re:Timeo Danaos et dona ferentes by Kryptonut · · Score: 3, Interesting

    Granted, Powershell 1.0 was pretty horrible, I don't get all the Powershell hate. Have you even tried to learn to use recent versions of it?

    I absolutely despised it back when I was deploying Exchange 2007 RTM on Windows Server 2003, but that's going back almost a decade.

    These days I use Powershell for a ton of stuff. I love the fact that everything is an object. For example, manager asks me for stats from AD, powershell script requesting user objects and filtering the appropriate fields, BAM, create a CSV, pretty it up in Excel and send it off to my manager.

    Plus tying into .NET is kick ass too. I've got scripts that update and extract data from MSSQL, amongst other things. Hell, I even played with scripting text to speech alerting just to see if I could, and it was really easy!

    Give it another try, it's actually a lot better

    And no, before I'm labelled an MS evangelist: I've worked for 2 ISP's in 100% Linux and BSD environments and have thoroughly used at least 7 or 8 different distro's, I run Linux at home for NAS and Asterisk PBX and I own and operate 2 Macs - in addition to my Windows Desktop PC. My current role just happens to be maintaining a 90% Microsoft Environment

  34. Re:Cygwin by ls671 · · Score: 1

    hehe, that's exactly what I was saying and I understand. Peace.

    --
    Everything I write is lies, read between the lines.
  35. Now the other big question by Culture20 · · Score: 1

    Regarding Windows Firewall:
    The feature where you can supposedly define custom network groups for the scope. Can you finally create more than localsubnet? It would be nice to be able to define "My networks" as "x.x.x.0/24, y.y.0.0/16, 10.0.0.0/8" then set scope for multiple rules as "My networks".

  36. Re:Timeo Danaos et dona ferentes by exomondo · · Score: 1

    Now I'm scared... We may, once again, see Microsoft's approach of Embrace, Extend, and Extinguish in action...

    What exactly are you scared about? Assuming you understand what's going on here what part of that concerns you?

  37. Re:Timeo Danaos et dona ferentes by mi · · Score: 4, Insightful

    What exactly are you scared about?

    That, for example, in order to ssh into a remote Windows system you'll have to use Microsoft's ssh-client — because they'll use some funky cipher/digest combination or some other "extension". They did it to Kerberos before...

    Or that interactive logins will only work on certain terminal emulators — because nothing else will be able to properly emulate powershell's window — just imagine the termcaps entry...

    In the link I gave there is a large list of Microsoft's earlier attempts to kill a standard by first adopting it — read it up...

    --
    In Soviet Washington the swamp drains you.
  38. Re:Timeo Danaos et dona ferentes by DocHoncho · · Score: 2

    PuTTy is already an incompatible mess all of it's own. It even has it's own special format for keys, so we get the joy of running every ssh key generated on a *nix system through puttygen.exe just to spit out some fugly PPK file. Oh, you need me to add your public key to authorized_keys? What's that you say? You used puttygen? Well fuck me, time to look up the command to convert that stupid shit again. Wonderful!

    Not to mention the fractured disorganization of the configuration, the crap profile system and all the other reasons why PuTTy is a pain in the ass.

    The fact that Microsoft is talking about using OpenSSH means at the very least the key files will be compatible. I have no idea why no one bothered porting OpenSSH to Windows before, but it's about damn time! I'm looking forward to a version of PuTTy (or KiTTy, actually) that uses the native OpenSSH instead of the existing legacy PuTTy implementation of SSH. I'd love to delete all those PPK files and never see another one again as long as I live.

    --
    Celebrity worship is a poor substitute for Deity worship and costs more to boot.
  39. Re:Will Power Shell become useful? by Shados · · Score: 1

    Just get a certificate and sign the script. If you're gonna be distributing it to users who: A) aren't on a network you control (else you'd be able to change the policy via the network), and B) aren't technical enough to run the command (thus, definately not good enough to make sure your script isn't malicious), you really owe it to them to sign it.

    No, its not expensive. Don't pretend it is.

  40. Re:Nice by zenbi · · Score: 1

    In fact, it would be awesome if the registry just disappeared entirely. I haven't met anybody who actually likes it

    So you've never met a Gnome developer?

  41. Wow by koan · · Score: 1

    Do we want a major corp like microsoft involved in this?

    --
    "If any question why we died, Tell them because our fathers lied."
  42. Re:Timeo Danaos et dona ferentes by mi · · Score: 1

    PuTTy is already an incompatible mess all of it's own. It even has it's own special format for keys

    The second sentence implies some other incompatibilities, in addition to special format for keys. I'm not aware of anything else — could you list examples?

    Well fuck me, time to look up the command to convert that stupid shit again

    PuTTY's entire source-code is , whereas Microsoft's own implementation of Kerberos was binary-only and developers had to sign an NDA to learn, how to interoperate with it. I linked to that above — the story was all the rage right here on /. 15 years ago...

    I have no idea why no one bothered porting OpenSSH to Windows before

    Probably, because, PuTTY provided a perfectly satisfactory solution...

    --
    In Soviet Washington the swamp drains you.
  43. Re:contribute to openssh? by exomondo · · Score: 1

    Are they forgetting who runs OpenSSH?

    Most people who have any valuable contributions are more interested in code than historical politicking.

  44. Re: Timeo Danaos et dona ferentes by Anonymous Coward · · Score: 1

    If you've never bothered to look in to it, you're clearly not informed on the subject matter. Go home, troll.

  45. Re:Timeo Danaos et dona ferentes by exomondo · · Score: 1

    That, for example, in order to ssh into a remote Windows system you'll have to use Microsoft's ssh-client — because they'll use some funky cipher/digest combination or some other "extension".

    In which case people would just use putty or cygwin or openssh instead, creating an incompatibility such that none of your devices can talk to Powershell is bad for Microsoft, it doesn't help them at all.

    In the link I gave there is a large list of Microsoft's earlier attempts to kill a standard by first adopting it — read it up...

    Firstly I can see why you had to write "attempts", because it seems none of those actually killed anything. But obviously - unless you don't understand what SSH is or its purpose - if they create an incompatibility here it is going to completely break their system making it such that Linux, BSD, iOS, Android, etc... can no longer connect to it.

  46. Re:Timeo Danaos et dona ferentes by DaHat · · Score: 1

    Hell, I even played with scripting text to speech alerting just to see if I could, and it was really easy!

    I know a guy who did that with a telephony system which calls him when something goes wrong then accepts voice input for what to do next... including executing a limited # of PS commands.

    I've not seen the code, but like you said, I'm told it's pretty easy.

  47. Re:Timeo Danaos et dona ferentes by DaHat · · Score: 1

    Betting the dude who wrote PuTTY is not in a good mood right about now...

    Oh? How much do you think he was making through donations for PuTTY?

  48. Re:Nice by ArmoredDragon · · Score: 1

    No more than VLC, firefox, or a ton of other popular open source programs are.

    To which I mean, these programs have seen scamware sites create trojanized copies that they then pay to get first listing as an ad for in search engines. It's technically not illegal nor is it against the GPL.

    The only part that is actually illegal is where the scam artist actually use information gleaned for illicit purposes.

    Bing is actually a popular place for these kinds of ads, by the way, because Microsoft seems to do even less vetting of its ad sources than Google does (my guess is maybe they aren't terribly concerned if ad based business models are believed to be flawed by the larger public? Either that or Bing is so unprofitable that they can't afford to vet it better.)

  49. Re:Timeo Danaos et dona ferentes by chispito · · Score: 2

    It's really powerful and a lot better than trying to use sed or perl to parse the output of programs in shell scripts.

    Exactly! It's so much better to have to pipe the output to something just to print to the console! Hurrah for objects! /s

    You're misinformed. PowerShell defaults to the console.

    --
    The Daddy casts sleep on the Baby. The Baby resists!
  50. Re:Timeo Danaos et dona ferentes by mi · · Score: 1

    In which case people would just use putty or cygwin or openssh instead

    Or they'll expect remote servers to implement whatever changes Microsoft will require for interoperatibility. We've been through this in the 1990-ies, when Microsoft's Internet Explorer was introduced with subtle incompatibilities in HTML-rendering...

    Firstly I can see why you had to write "attempts", because it seems none of those actually killed anything

    Well, a successful attempt is still an attempt: Netscape died. Kerberos survived because the world wised up by then — this very site had helped by hosting an anonymous coward's post documenting Microsoft's "extensions" to Kerberos so developers world-wide could implement them without signing an NDA of their own.

    if they create an incompatibility here it is going to completely break their system making it such that Linux, BSD, iOS, Android, etc... can no longer connect to it.

    Or not — depending on the nature of incompatibilities and the marketing/advertising... For example, the regular connections will work, but compressed ones will not (either at all, or requiring client to support some new compression algorithm). Or port-forwarding will be disabled (or not working at all). Or WINCH will not be sent to the remote servers, when the local window is resized — or, in the other direction, arriving WINCH will be ignored or misinterpreted. The possibilities for both honest errors and deliberate breakage are immense...

    --
    In Soviet Washington the swamp drains you.
  51. Re:Timeo Danaos et dona ferentes by exomondo · · Score: 2

    Or they'll expect remote servers to implement whatever changes Microsoft will require for interoperatibility. We've been through this in the 1990-ies, when Microsoft's Internet Explorer was introduced with subtle incompatibilities in HTML-rendering...

    And how has that worked out? Back then that affected personal computing - an area which Microsoft had a monopoly - and it still ultimately failed. This is across desktop, server and mobile, this conspiracy theory of yours has no chance at all, in fact you don't even posit what Microsoft would gain out of it.

    Well, a successful attempt is still an attempt: Netscape died.

    But it failed, you need to learn your history: Netscape lived on thanks to Mozilla and now we have IE dying in favor of open standards, Microsoft themselves are killing IE in favor a browser that does not even support proprietary extensions like ActiveX.

    Or not — depending on the nature of incompatibilities and the marketing/advertising...

    Incompatibilities would make people less likely to use Microsoft's implementation, not more likely. You don't seem to understand that this isn't the 90s anymore, Microsoft doesn't even come close to dominating computing these days. Breaking their product just locks them out of the market, not everybody else in.

  52. Re:Timeo Danaos et dona ferentes by Antique+Geekmeister · · Score: 1

    The user interface. It's quite poor and has no "export" or "import" tools for transferring configurations to other users, and the modifying settings for SSH tunnels or terminal or user options isn't saved until you return to the initial screen, with no information on what the changes wehre and no recovery of preivous configuraitons.

    Putty is most useful when combined with a wrapper tool that manages multiple sessions more gracefully, there are several very effective free ones. Personally, I tend to use Cygwin OpenSSH so that I can use $HOME/.ssh/config files, and send them to other users, to reproduce complex configurations more effectively.

  53. Re:contribute to openssh? by Anonymous Coward · · Score: 1

    You've never called Theo de Raadt's or his fanboy's uber l33t s00per-sekrit-sauciness into question. Just remember, roughly 90% of all SSH private keys are still kept unencrypted, and if ever you call into question leaving this as the default behavior for the SSH key generator, or if you ever call into question the "there is no way to clear out old host keys from known_hosts other than with a text editor" policy, well then....

    **** Let the fireworks begin!!!!! ***

  54. Re:Cygwin by Antique+Geekmeister · · Score: 1

    It involves more than a little bit of tweaking. Files that are "locked" on the Windows side make rsync hang, and fail when accessed over an rsync/SSH connection. This particularly includes the Outlook ".PST" file, the email storage file that is one of the most critical files to back up on a personal system.

  55. Re:Will Power Shell become useful? by danbob999 · · Score: 1

    Having to sign the script completely defeats the purpose of having scripts in the first place. I want scripts because:
    1. no need to compile anything
    2. can be edited right away on any PC using a text editor, and executed again
    3. no need to install any framework or runtime.

    I can distribute and run a .exe on any PC anyway. Why couldn't I do the same with a Power Shell script?

  56. Re:Cygwin by drinkypoo · · Score: 1

    Rsync fails on Windows/Unix interactions due to basic filesystem architecture.

    Uh what? I use it all the time between Windows and Unix, Windows and Android... it works fine. If there are any problems, they are abstracted away by the client and/or server and I don't notice them at all.

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  57. Re:Cygwin by ls671 · · Score: 1

    Indeed, you have to rsync when all file handles are closed.

    --
    Everything I write is lies, read between the lines.
  58. Re:Timeo Danaos et dona ferentes by styrotech · · Score: 1

    Kerberos was not either.

    Kerberos is actually a good example of how attitudes at MS have changed over the years.

    http://linux.slashdot.org/stor...

    MS ended up opening up their extensions so that MIT and Samba etc could implement them freely.

  59. Re:Cygwin by ls671 · · Score: 1

    Thinking twice, then again, you can still tweak with file locking strategies.

    --
    Everything I write is lies, read between the lines.
  60. Re:Cygwin by ls671 · · Score: 1

    In the end, never say it is impossible. It's like arguing implosion won't prevail in Manhattan.

    --
    Everything I write is lies, read between the lines.
  61. Re:Cygwin by drinkypoo · · Score: 1

    No. Cygwin runs everything under one process.

    buh?

    windows$ ps -aef
        UID PID PPID TTY STIME COMMAND
    cyg_serv 2588 1 ? May 29 /usr/bin/cygrunsrv
    cyg_serv 2672 2588 ? May 29 /usr/sbin/sshd
    cyg_serv 7016 2672 ? 18:46:49 /usr/sbin/sshd
      user 8108 7016 pty0 18:46:52 /usr/bin/bash
      user 6536 8108 pty0 18:46:58 /usr/bin/ps
     
    debian$ ps -aef | egrep '(sshd|bash)'
    root 13792 1 0 Apr24 ? 00:00:06 /usr/sbin/sshd
    root 19995 13792 0 18:48 ? 00:00:00 sshd: user [priv]
    user 19997 19995 0 18:48 ? 00:00:00 sshd: user@pts/0
    user 19998 19997 0 18:48 pts/0 00:00:00 -bash
    user 20131 19998 0 18:50 pts/0 00:00:00 egrep (sshd|bash)

    So uh, what's the difference? Looks like all cygwin is missing is proper authentication. AFAIK it maps UIDs to SIDs, but yes, is missing AD support.

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  62. Re:Timeo Danaos et dona ferentes by drinkypoo · · Score: 1

    This doesn't compete with PuTTY, probably: odds are it will be a console-mode ssh binary just like what cygwin users have already but without a dependency on cygwin, and a server just like what cygwin users have already but with NT auth (incl. AD) rather than /etc/passwd authentication which maps to local SIDs. PuTTY does have a command-line client, but nobody is paying for that. They're paying (if they pay at all) for the interface.

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  63. sftp by enter+to+exit · · Score: 1

    Will the support sftp access in explorer? I could simplify a lot of my webDAV/samba stuff that way...

  64. Re:Timeo Danaos et dona ferentes by Gadget_Guy · · Score: 4, Informative

    K. Construct a for loop in PS that lists a directory and adds the words "This is cool" to the 13th line of any file of type "text" without downloading a module.

    Off the top of my head (and using verbose commands to make it more obvious), I got:

    dir | where -Property Extension -match '.te?xt' | foreach {

    $i=0;
    $s=(Get-Content $_.FullName);
    $s | foreach { if ( (($i++) % 13) -eq 0) { $_+" This is cool" } else { $_ } } | Set-Content $_.FullName

    }

    I haven't thought of a way to do the file type determination (other than by the extension), but that will do just for a post to an AC. It can all be done on a single line; I added the line breaks and indentation so it wasn't a big line of gobbledegook. Now it is several lines of gobbledegook!

    The impressive part of the tab completion of Powershell is how context sensitive it is. When I typed the where command, I entered -p<TAB> and it expanded it to -Property (although just -p would work too). But the fun part was that I could then type e<TAB> and then go through the list of property names that are returned from the dir command that begin with the letter e; first Exists, then Extension. So it was aware what was being passed to the where command on the pipeline and returning the correct properties for that object.

    So if I typed the following:

    get-content "file.txt" | where -Property

    ...and pressed the tab key, it gives me the property name of Length as it knows that it is returning a string rather than a file. The same where command will work on (and give appropriate tab completion) on a directory listing, file output, database query, or XML tree list.

  65. Re:Nice by Anonymous Coward · · Score: 1

    What I would like to see is not just a command-line SSH client, but also native support for files over SCP in Windows explorer. Just about any Linux desktop out there will let you type "smb://" to access Windows shares, "sftp://" to access files over SSH, "ftp://" for FTP, etc. I always find going back to Windows very frustrating when I have to move files between machines.

  66. Hell must have frozen over.... by gweihir · · Score: 1

    MS is adding actually useful standard tools (well, standard outside of the MS isle of incompatibility) to windows! Good. That means we are at a stage where they cannot ignore what works anymore. As usual for MS decades late, but better late than never.

    --
    Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
  67. Probably concerned with authentication by cbhacking · · Score: 2

    Indeed. I expect one of the things they'll be looking at doing is adding support for some of Windows' built-in authentication options. For example, recent versions of RDP use machine certificates, typically with a trust-on-first-use model similar to SSH. It would be nice if SSHing into a Windows box could re-use that machine cert, and SSHing from a Windows box could take advantage of the list of IP+cert pairs that you already trust. This would require some code changes to OpenSSH though, since it is of course currently utterly unaware of Windows' certificate stores.

    Also, powershell isn't really used to displaying to anything except Windows consoles. Just for the hell of it, I tried running it in xterm (which, while antique, any *nix program would be OK with) by SSHing into a Windows box. It launched, but trying to run any commands - even exit - appeared to hang (though Ctrl+C worked to exit out of PS entirely). This may not be something that Microsoft needs the help of the OpenSSH devs to fix, but it's something that needs to be fixed, regardless. If people can SSH into Powershell, then Powershell needs to be able to display to whatever console they're SSHing from.

    --
    There's no place I could be, since I've found Serenity...
  68. Re:Timeo Danaos et dona ferentes by DeVilla · · Score: 1

    Well, a successful attempt is still an attempt: Netscape died.

    But it failed, you need to learn your history: Netscape lived on thanks to Mozilla ...

    Why couldn't we have been so lucky as to have Microsoft live on as Netscape has?

  69. Re:The bad news? by KGIII · · Score: 1

    You are eaten by a Grue. Better luck next time.

    --
    "So long and thanks for all the fish."
  70. Re:Timeo Danaos et dona ferentes by cbhacking · · Score: 1

    OpenSSH has been ported to Windows a number of times. Off the top of my head:
      * Interix (POSIX subsystem running on native NT, but still technically Windows) has at least one version of OpenSSH (server and client).
      * Cygwin (emulates Unix on Win32) has OpenSSH, (server and client).
      * MSYS (a set of Unix tools ported to Win32 via MinGW) has OpenSSH (client for sure - it's installed with Git for Windows - not sure about server).

    None of those are terribly well integrated with Windows' way of doing things, though. Sometimes that's a good thing - I can take my .ssh folder from a Linux box, drop it on a Windows system, and it'll work with the things listed above - but it also means that (for example) the public key used when SSHing into my Windows box is completely unrelated to the public key used when RDPing into the same box. That's silly.

    --
    There's no place I could be, since I've found Serenity...
  71. Re: Timeo Danaos et dona ferentes by Anonymous Coward · · Score: 1

    Simple. The ability to script. In the real world, you rarely create one account or make one change at a time in any administrative environment. Most of the time, as long as you memorize the loop part of the script, it's trivial to just replace the actions in a for, while or if statement. Imagine making a group policy change to update software and needing it to apply to a hundred client systems. You would be hard pressed to have everyone run gpupdate to apply that change or do it yourself on that many systems by hand, whereas you could script the process to run on an ip address range using a for loop. Not only could the command run on all the systems simultaneously, it makes you look like you're doing more work than you actually are. This is the epitome of CLI from an administrative point of view.

  72. Re:Nice by ArmoredDragon · · Score: 1

    I don't know the protocols in detail, but isn't CIFS/SMBFS much better suited for random access than SCP/SFTP is?

  73. Re:Will Power Shell become useful? by Gadget_Guy · · Score: 1

    It sounds like you just want to complain, no matter what. If you want to distribute scripts to others then sign them. Problem solved.

    If your users want to edit the scripts then they can change their Powershell security policy allowing them to make all the script updates that they want. Problem solved.

    In the meantime, the rest of the world who don't use nor care about Powershell just want to have a computer that is protected from malware attacks. They can live a little safer since Microsoft blocked the Powershell attack vector by default. Problem solved.

    This is the way security defaults should be. If the ActiveX defaults had been secure by default in the early versions of Internet Explorer then the browser would not have had the bad reputation that it deservedly received. Sure it made it easier for developers (like you) to run their code on their users' systems, but it did so at the cost of security of the majority of people who didn't want that facility.

  74. Re:Cygwin by ls671 · · Score: 1

    It is useless to resist us.

    --
    Everything I write is lies, read between the lines.
  75. Re:Will Power Shell become useful? by DavidRawling · · Score: 1

    Because this is a direct outcome of configuring secure-by-default. It's there to stop people shooting themselves in the foot the first time they try. Don't like it? Try one of the FIFTEEN WAYS you can run a powershell script without requiring a policy change.

    I personally prefer #9 but YMMV.

  76. Re: NSA Backdoors by Anonymous Coward · · Score: 1

    OpenSSH is, er, open. There's nothing stopping the NSA from contributing in the first place. How would you know if the volunteers currently working on it aren't working for the NSA?

  77. Re:Timeo Danaos et dona ferentes by Ash-Fox · · Score: 1

    You pretty much answered what I was going to answer.

    --
    Change is certain; progress is not obligatory.
  78. Re:Nice by Ash-Fox · · Score: 1

    I don't know the protocols in detail, but isn't CIFS/SMBFS much better suited for random access than SCP/SFTP is?

    Not particularly. CIFS/SMBFS is better suited for enforcing file locking however.

    --
    Change is certain; progress is not obligatory.
  79. Hooray! by sabbede · · Score: 1

    I've been wrapping commands for PuTTY and using PoshSSH. A native implementation would be sweet. I wonder how big a hassle it will be to convert my putty stuff for it.

  80. Re:Cygwin by Antique+Geekmeister · · Score: 1

    If there are critical files that cannot be reliably accessed and have to be excluded simply because they are "open", then rsync over SSH cannot be a reliable backup tool. The files that are "open" will be those most critical and often in use, such as email backup and critical spreadsheets. One can get rsync to back up the rest of the filesystem more reliably by doing a CIFS mount of the files elsewhere, such as mounting it to a Linux systerm, and simply ignoring the complexities of Windows file ownership. Since the "C:" drive is almost always exported as the hidden "C$" share, it's almost always available if you have the credentials.

    I've had quite a bit of amusement showing this little technique to Windows admins who insisted they needed remote console access to review the status of their internal systems.

  81. Re:Timeo Danaos et dona ferentes by coofercat · · Score: 1

    The Linux equivalent client for Windows SSH is called 'telnet' ;-)

  82. Re:Will Power Shell become useful? by danbob999 · · Score: 1

    Having to change the security policy on every PC where my script will run is a total pain. I might as well compile an executable.
    If ActiveX was disabled by default (for security) it would never have been used to begin with. And that's the reason why nobody uses Power Shell and lots of people still use .CMDs.

  83. I'm actually curious... by Anonymous Coward · · Score: 1

    Given that WinSCP has had an API you can drive from .NET and PowerShell for years already... what functionality are people thinking they actually need here? On the other hand if you're actually wanting an SSH server on Windows there's always Cygwin and CopSSH.

  84. Re:Will Power Shell become useful? by Gadget_Guy · · Score: 1

    Having to change the security policy on every PC where my script will run is a total pain.

    Can't you read? You don't have to change the security policy if you just sign your script.

    You only have to change the policy if you want to edit a script on that PC, and if you do that then surely you are sitting at the workstation and are able to issue to one single command that is needed. If you can't issue the one command required then you have no business trying to edit a Powershell script.

  85. Re:Will Power Shell become useful? by danbob999 · · Score: 1

    Having to sign it is a pain. As I said, I prefer to compile an executable than to sign a script.

  86. Re:Cygwin by leptechie · · Score: 1

    And, in all likelihood, native (MS-)Kerberos.

  87. Re:Timeo Danaos et dona ferentes by evilviper · · Score: 1

    I have no idea why no one bothered porting OpenSSH to Windows before, but it's about damn time!

    Because SSH is:

    ...command-line oriented, and before Powershell, the Windows command-line was a complete steaming pile...

    ...extremely Unix oriented. Without a VT100+ emulator, SSH'ing into a Unix box is about as useful as a teletype. No exaggeration, only non-interactive commands work well. CMD/Powershell will go wonky when you try to run "links".

    ...not any more useful than Putty unless running on top of a good Unix environment (like Cygwin). Windows' pipes and sockets don't work like Unix pipes and sockets. There's no Windows-native rsync, cvs, svn, git, etc., that could be used together with a Windows SSH client.

    Best way to make Windows tolerable is to install Cygwin, and run everything (including OpenSSH) under their rxvt terminal port.

    --
    Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  88. Re:Nice by acoustix · · Score: 3, Informative

    Maybe. Assuming Microsoft makes a proper SSH client that is as good as PuTTY, instead of software like that piece of shit called HyperTerminal...

    If I remember correctly, Microsoft didn't make HyperTerminal. They either bought it or licensed its use in Windows.

    --
    "A plan fiendishly clever in its intricacies"- Homer Simpson
  89. Please DON'T! by Muad'Dave · · Score: 1

    ... they [Microsoft] also plan to contribute back to the OpenSSH project as well.

    NO THANK YOU. Please keep your embrace-and-extend, security-is-a-joke grimy grippers out of the OpenSSH codebase.

    --
    Tiller's Rule: Never use a word in written form that you've only heard and never read. You will end up looking foolish.
  90. Re:Timeo Danaos et dona ferentes by chispito · · Score: 1

    I doubt AC could tell the difference by looking at it, but I think he was actually asking for just the 13th line, not every 13th line. So you could replace "( (($i++) % 13) -eq 0)" with the simpler "($i -eq 12)"

    --
    The Daddy casts sleep on the Baby. The Baby resists!
  91. Re:contribute to openssh? by ralphsiegler · · Score: 1

    Cygwin has had a port of openssh to windows far, far longer than that

  92. Re:Timeo Danaos et dona ferentes by exomondo · · Score: 1

    Duh. It will make it look like linux, bsd, ios, android are broken because they cant connect to a windows box.

    That might fool you but most people - particularly if they are remoting into systems - are going to be smart enough to see that an update to Windows didn't break Linux, BSD, iOS, Android, etc...

  93. Re:Timeo Danaos et dona ferentes by shutdown+-p+now · · Score: 1

    I wonder how freaked out you would be if I told you that the official maintainer of Python on Windows is a Microsoft employee these days.

  94. Re:Cygwin by MaxSmoke · · Score: 1

    There can be different users and groups between *nix machines and still rsync works fine in such situation, so it must have solved this issue in principle already.

  95. Re:Timeo Danaos et dona ferentes by rdnetto · · Score: 1

    The impressive part of the tab completion of Powershell is how context sensitive it is. When I typed the where command, I entered -p and it expanded it to -Property (although just -p would work too). But the fun part was that I could then type e and then go through the list of property names that are returned from the dir command that begin with the letter e; first Exists, then Extension. So it was aware what was being passed to the where command on the pipeline and returning the correct properties for that object.

    It's worth noting that this is also available in zsh, which (I believe) has always been more feature heavy than bash.

    (Not to say it isn't cool that Powershell can do that, merely that bash probably isn't the best comparison.)

    --
    Most human behaviour can be explained in terms of identity.
  96. File system paths by jwhitener · · Score: 1

    Native ssh is great. But what would make it even better is if windows would give up their c:\blah\blah file system structure and standardize with linux and osx by embracing /blah/blah. So annoying when working in a mixed OS environment. Lets see, did this app need the backslash escaped, c:/\ or will it handle c:\, does it even recognize c: or just / or just \, etc..

  97. Re:The bad news? by DroolTwist · · Score: 1

    lol