• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Ssh problems

Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
6 Posts 4 Posters 14.5k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P
    piercejr
    last edited by Aug 15, 2016, 12:35 AM

    latest version of pfsense is breaking most of my ssh clients when I try and ssh into pfsense.  never had problems before.

    My older version of secureCRT returns….

    Key exchange failed.
    No compatible key exchange method. The server supports these methods: curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256
    No compatible MAC. The server supports these MACs: hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-ripemd160-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512,hmac-sha2-256,hmac-ripemd160,umac-128@openssh.com

    and syslog on pfsense shows...
    fatal: Unable to negotiate with <client's ipv6="">port 53661: no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1 [preauth]

    I tried smarTTY, similar errors, client reports LIBSSH2_ERROR_KEX_FAILURE, and syslog says…
    atal: Unable to negotiate with (my IP) port 50978: no matching key exchange method found. Their offer: diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1 [preauth]

    latest putty works but i hate putty.

    this is really annoying.</client's>

    1 Reply Last reply Reply Quote 0
    • G
      Gertjan
      last edited by Aug 15, 2016, 2:31 AM

      Hi,

      Checkout https://forum.pfsense.org/index.php?topic=115736.0

      No "help me" PM's please. Use the forum, the community will thank you.
      Edit : and where are the logs ??

      1 Reply Last reply Reply Quote 0
      • J
        johnpoz LAYER 8 Global Moderator
        last edited by Aug 15, 2016, 12:41 PM

        Well complain to your fav ssh client maker to support current standards.. latest version of securecrt 8.0.2 support ed25519 but they do not support chacha20 yet.. Really just inconceivable that companies that do ssh for their business model not supporting current stuff.. Blows my freaking mind..

        Your other option if you don't like putty is just grab the actual openssh client, there is a version for windows mls-software you can grab, or even ms is working on port of it, etc.

        https://github.com/PowerShell/Win32-OpenSSH
        http://www.mls-software.com/opensshd.html

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        1 Reply Last reply Reply Quote 0
        • G
          Gertjan
          last edited by Aug 15, 2016, 2:15 PM

          …. and for those who actually worked with those VT100 terminals and the like back then : You can only love Putty ......

          No "help me" PM's please. Use the forum, the community will thank you.
          Edit : and where are the logs ??

          1 Reply Last reply Reply Quote 0
          • J
            johnpoz LAYER 8 Global Moderator
            last edited by Aug 15, 2016, 2:30 PM

            yeah I don't get how you don't love putty.. 1 small exe.. Provides for all kinds of connection options, ssh, telnet for those really behind the times and even console (serial).  It is just a great util to have in your toolbelt especially when stuck having to use a windows machine.

            While for sure its not as polished as say securecrt in its looks, it has support for current kex and cipher options pretty much as soon as they become valid..

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            1 Reply Last reply Reply Quote 0
            • J
              jimp Rebel Alliance Developer Netgate
              last edited by Aug 17, 2016, 2:41 PM

              Part of being security-conscious is not just using encryption but keeping the clients, settings, and other standards up-to-date. Over time weaker ciphers, hashes and so on are found to be vulnerable (sometimes in theory, sometimes in reality) so they get disabled. Time marches on.

              I wanted to keep using SecureCRT so I dropped some cash on a current version and made sure all my profiles had compatible ciphers, hashes, and MACs enabled. Now it's happy (aside from a keyboard-interactive issue in SecureCRT I'm still tracking before submitting a bug report). I bugged them about chacha20-poly1305, AES256-GCM, and curve25519-sha256 and they put in feature requests for them on my behalf.

              If you're using an older version of SecureCRT because it was the only cracked one available on a torrent site, then I have no sympathy. Otherwise, if you like it, support them and grab an upgrade. It's not cheap, but it's an excellent client with superior session management. I've used it off and on since I was in college far too many years ago.

              UEX for Linux was using an older libssh but they just put out a beta version that works. Recent versions of PuTTY and Filezilla and others are fine, too.

              There are wrappers out there that use putty or command line ssh utilities (depending on your OS, things like PAC are interesting), but there isn't much of an excuse to not keep yourself and your infrastructure secure for the sake of ssh clients suffering from bit rot.

              You might need to clear out older host key fingerprints from your ~/.ssh/known_hosts file if you use a command line client. See here for details: https://doc.pfsense.org/index.php/2.3.2_New_Features_and_Changes#SSH_Daemon

              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply Reply Quote 0
              1 out of 6
              • First post
                1/6
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                This community forum collects and processes your personal information.
                consent.not_received