Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×
Encryption Open Source Security Software

OpenSSH 7.0 Released 75

An anonymous reader writes: Today the OpenSSH project maintainers announced the release of version 7.0. This release is focusing on deprecating weak and unsafe cryptographic methods, though some of the work won't be complete until 7.1. This release removes support for the following: the legacy SSH v1 protocol, the 1024-bit diffie-hellman-group1-sha1 key exchange, ssh-dss, ssh-dss-cert-* host and user keys, and legacy v00 cert format. There were also several bug fixes, security tweaks, and new features. In the next release, they plan to retire more legacy cryptography. This includes refusing RSA keys smaller than 1024 bits, disabling MD5-based HMAC algorithms, and disabling these ciphers: blowfish-cbc, cast128-cbc, all arcfour variants and the rijndael-cbc aliases for AES.
This discussion has been archived. No new comments can be posted.

OpenSSH 7.0 Released

Comments Filter:
  • none cipher? (Score:5, Interesting)

    by Anonymous Coward on Tuesday August 11, 2015 @11:40PM (#50298959)

    I hope they add a "none" cipher.

    I use ssh for X11 forwarding and encryption really slows it down. Currently I'm using arcfour because it's the fastest one. But TFS says that's going away in 7.1. Guess it's time to look for a patch.

    No, I don't want encryption between these machines. I would run "xhost +", but setting $DISPLAY after a script remotely logs in is ugly. " ssh -Y" makes it so much easier, cleaner, and more likely to be correct.

    • by fnj ( 64210 )

      I've been there, so I know the feeling. It's frustrating to be treated like children incapable of deciding what level of security YOU need, including none. But jeeze, in 2015 you must be running unbelievably shitty old hardware to even notice any slowdown any more with the best ciphers.

      • Re:none cipher? (Score:5, Interesting)

        by hankwang ( 413283 ) on Wednesday August 12, 2015 @12:45AM (#50299135) Homepage

        in 2015 you must be running unbelievably shitty old hardware to even notice any slowdown any more with the best ciphers.

        Does running rsync on an Android phone or a low-end NAS qualify? I prefer to keep my backups local rather than in the cloud. I've said it before: The weaknesses in RC4/arcfour are all about leaking key information in the first 256 or maybe 512 bytes of cipher stream, because that's how long it takes to scramble the internal state. SSH always discards the first 1.5 kiB, so it's not vulnerable to this kind of attack. Why deprecate it?

        • by Anonymous Coward

          AES acceleration is part of even ARM processors. So no, a low-end NAS or Android phone do not qualify, at least not merely on that basis.
          https://en.wikipedia.org/wiki/AES_instruction_set#Hardware_acceleration_in_other_architectures

          Encryption still isn't free, but the performance difference is no nearly as large as most people imagine. On slower hardware it's more evident, but only because the overall transfer rate is already quite slow.

          There's also nothing keeping you from running telnet and/or netcat to ge

          • by Warma ( 1220342 )

            An old NAS I have at home is only capable of transferring about one Mb/s through ssh (with modern linux machines). That is slow enough that transferring anything semi-large may take a day or so. Not unbearable, but still a bit too slow.

            I have to admit that I haven't really looked into using alternative ciphers beyond the default one, but considering that that NAS is completely inside a LAN, having a 'none' cipher for occassional large transfers wouldn't hurt.

        • ...then I encourage you to update and correct RFC 7525 [ietf.org]:

          Implementations MUST NOT negotiate RC4 cipher suites.

        • by tlhIngan ( 30335 )

          Does running rsync on an Android phone or a low-end NAS qualify? I prefer to keep my backups local rather than in the cloud. I've said it before: The weaknesses in RC4/arcfour are all about leaking key information in the first 256 or maybe 512 bytes of cipher stream, because that's how long it takes to scramble the internal state. SSH always discards the first 1.5 kiB, so it's not vulnerable to this kind of attack. Why deprecate it?

          Android phones have their own encryption accelerators, so using AES would wo

      • Yeah, like when I want to create a kiosk from scratch using linux and want to have it autologin as a user and start x.

        Asking on forums just leads to one being berrated and told that it is insecure to have a machine where someone is logged in without producing credentials. Why is it not a valid security model, to have a user called "public"? Especially whenever nothing mission critical is used on said machine?

    • Re:none cipher? (Score:5, Interesting)

      by bill_mcgonigle ( 4333 ) * on Wednesday August 12, 2015 @12:06AM (#50299041) Homepage Journal

      Are you running old hardware? I've switched over to "-c aes128-ctr" for the best speed/security/compatibility compromise, but I have hardware AES. I get about a gigabit between vm's.

      ssh -c aes128-ctr -o Compression=no hostname cat /dev/zero |pv | cat > /dev/null

      on Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz

    • by Ed Avis ( 5917 )
      I patched 'none' encryption into openssh many years ago: http://membled.com/work/patche... [membled.com]
      • I patched 'none' encryption into openssh many years ago

        We assume the fruit basket and flowers arrived OK?

        Love,
        The NSA.

    • Isn't it 'ssh -X' instead of 'ssh -Y'?

      • http://www.openbsd.org/cgi-bin... [openbsd.org]

        -X
        Enables X11 forwarding. This can also be specified on a per-host basis in a configuration file.
        X11 forwarding should be enabled with caution. Users with the ability to bypass file permissions on the remote host (for the user's X authorization database) can access the local X11 display through the forwarded connection. An attacker may then be able to perform activities such as keystroke monitoring.
        For this reason, X11 forwarding is subjected to X11 SECURITY extension restrictions by default. Please refer to the ssh -Y option and the ForwardX11Trusted directive in ssh_config(5) for more information.
        -x
        Disables X11 forwarding.
        -Y
        Enables trusted X11 forwarding. Trusted X11 forwardings are not subjected to the X11 SECURITY extension controls.

        http://www.openbsd.org/cgi-bin... [openbsd.org]

        ForwardX11Trusted
        If this option is set to “yes”, remote X11 clients will have full access to the original X11 display.
        If this option is set to “no”, remote X11 clients will be considered untrusted and prevented from stealing or tampering with data belonging to trusted X11 clients. Furthermore, the xauth(1) token used for the session will be set to expire after 20 minutes. Remote clients will be refused access after this time.

        In summery it seems that -X is more secure than -Y but can break things in some cases.

        • by Uecker ( 1842596 )

          Sadly '-Y' is slow because RENDER is not available for untrusted clients. And '-X' does not offer more protection on most Linux systems because they usually default to trusted connections. It really a sad situation.

    • by Anonymous Coward

      Install openssh-hpn. It has supported a null symmetric cipher forever.

      Sometimes you only need authentication, not privacy. I don't know what's with all the hater responses; it's often the case that you have a machine on a network that can't be snooped (any decent managed ethernet forwarding domain), but can be reached from the outside, so you want the convenience and security of ssh public key authentication, but you have no need for privacy. With 10G or 40G ethernet, even a fast cipher like Chacha20 can in

    • by Bert64 ( 520050 )

      Such an option has been supported for a while, at least within the HPN patch...
      Back when i used remote X11, it would automatically forward the DISPLAY parameter when logging in (over telnet in those days), ie it would take your display number (:0) and append it to the end of the host you logged in from.
      You could also look into an x11 compression system like NX if bandwidth is lacking.

    • Have you considered using ChaCha20? It is - supposedly - faster than RC4 ( https://security.stackexchange... [stackexchange.com] ) and not broken ( http://www.rc4nomore.com/ [rc4nomore.com] ). Of course, please benchmark yourself.
    • by adolf ( 21054 )

      There used to be a "none" cypher. It's been gone for a very long time. I never understood why it needed to go away: Sometimes, all you need/want is good authentication.

      I used it eons ago on 486-ish hardware for remote X on an unswitched LAN. It worked great.

    • by ebvwfbw ( 864834 )

      New command for you, xhost -
      Now anyone can connect.

      Might as well after all.

  • by thogard ( 43403 ) on Wednesday August 12, 2015 @01:37AM (#50299257) Homepage

    If you have old SSH1 only type devices (like old switches and routers), you might not be able to talk to them anymore after this update. You might want to keep a version of 6.6 around as ssh1 to talk to the old stuff that can't be upgraded to newer stuff.

    • by darkain ( 749283 )

      Sad but true, I keep legacy VMs laying around just to log into various client's legacy hardware for that once a year time they need some admin task taken. Looks like this will be added to the "legacy VM suite" I carry around.

    • by Noryungi ( 70322 ) on Wednesday August 12, 2015 @03:42AM (#50299507) Homepage Journal

      If you have old SSH1 only type devices (like old switches and routers), you might not be able to talk to them anymore after this update. You might want to keep a version of 6.6 around as ssh1 to talk to the old stuff that can't be upgraded to newer stuff.

      OK, here is a hint for you: SSH v1 is a compile option.

      Simply enter: ./configure --with-ssh1 ; make ; sudo make install and you will have the latest version of OpenSSH, with SSH v1 baked in.

      Add a couple of options to your personal ~/.ssh/config (you do have a personal SSH config, right?) for these obsolete hosts, or simply add -1 to your ssh command and you are good to go.

      There... That was not so hard now, was it?

    • by Bert64 ( 520050 )

      Yeah while i agree with disabling old stuff by default especially in the server side implementation, the client should probably retain support for such things at least as a compile time option...

  • by 0xdeaddead ( 797696 ) on Wednesday August 12, 2015 @07:41AM (#50300161) Homepage Journal

    i remembered when blowfish was the darling of OpenBSD.

    • by kriston ( 7886 )

      While blowfish-cbc is going away, which uses Cipher Block Chaining mode, I find it a little strange that OpenSSH does not offer the more secure blowfish-cfb, blowfish-ecb, or blowfish-ofb ciphers. They're certainly in OpenSSL, though blowfish in CTR mode is curiously not present in OpenSSL.

      Frankly, why not offer CFB, ECB, OFB, and CTR modes for all ciphers that support it?

      • by ebvwfbw ( 864834 )

        Nothing wrong with cbc. It's still part of FIPS and if there were a problem, they'd surely remove it.
        Someone put some BS out there that CBC isn't safe. It wasn't for about 3 months back in 2009. Then everyone fixed it.

        • by kriston ( 7886 )

          Blowfish is a solid cipher. I'm disappointed that I have to compile my own OpenSSH builds now with it re-enabled. What a silly joke this 7.0 release is going to be.

          We seriously need to update Dropbear or some other SSH implementation to make this world better than it currently is.

          • by ebvwfbw ( 864834 )

            I remember implementing blowfish on an IBM Mainframe running mvs in assembler. I think that was in the early 1990s sometime. Before AES was out. I always thought it was a great cipher as well. However my cipher friends told me it's not that hard to crack. There are some flaws that make it vulnerable. Let me put it this way, don't bet your life on it. However for what I was using it for, it provided way more security than I needed.

            My advice is to just use what's standard. Otherwise you'll spend a lot of ti

            • by kriston ( 7886 )

              Yup. EBC or CTR mode (which OpenSSH doesn't bother to enable) eliminate most of those security worries.

Children begin by loving their parents. After a time they judge them. Rarely, if ever, do they forgive them. - Oscar Wilde

Working...