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

    Putty SSH Pfsense

    Scheduled Pinned Locked Moved General pfSense Questions
    9 Posts 4 Posters 2.3k 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.
    • B
      bisssane
      last edited by

      I can not access my Pfsense with SSH using PUTTY , it shows me this message: putty couldn't agree a key exchange

      PS : I updated putty, but it did not work

      GertjanG 1 Reply Last reply Reply Quote 0
      • JKnottJ
        JKnott
        last edited by

        SSH can be configured to use public/private key pairs. You generate a private key for the client and matching public key for the server. With this, SSH can securely connect without requiring a password. There is a process for creating the keys in PUTTY and then you'd have to copy the public key to pfSense.

        PfSense running on Qotom mini PC
        i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
        UniFi AC-Lite access point

        I haven't lost my mind. It's around here...somewhere...

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          Upgrade your PuTTY client version. You must have a really, really old version of PuTTY installed.

          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!

          B 1 Reply Last reply Reply Quote 0
          • B
            bisssane @jimp
            last edited by

            @jimp
            no i have the last vesrion

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              And what version does the client report?

              The exact issue you report is the same as what happened two years ago when we made changes that obsoleted some old and weak ssh key exchanges.

              See Also:

              • https://www.netgate.com/docs/pfsense/releases/2-3-2-new-features-and-changes.html#SSH_Daemon
              • https://forum.netgate.com/topic/103276/ssh-couldn-t-agree-a-key-algorithm-available-curve25519-sha256-libssh-org/7

              For everyone else, updating PuTTY fixed the problem.

              If it didn't, then either your PuTTY isn't updating or maybe you're not hitting the ssh daemon on pfSense but something else entirely.

              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!

              JKnottJ 1 Reply Last reply Reply Quote 0
              • GertjanG
                Gertjan @bisssane
                last edited by

                Sthis :
                @bisssane said in Putty SSH Pfsense:

                I updated putty, but it did not work

                puzzles me.

                The update didn't work ?
                What is the Putty version now ? It should be 0.70 https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html

                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
                • jimpJ
                  jimp Rebel Alliance Developer Netgate
                  last edited by

                  Yes and I have seen before where installing the new PuTTY still leaves behind the old one, and doesn't update the icons, since depending on how it's installed it may be version-specific. Make sure to uninstall the old PuTTY first.

                  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
                  • JKnottJ
                    JKnott @jimp
                    last edited by

                    @jimp said in Putty SSH Pfsense:

                    The exact issue you report is the same as what happened two years ago when we made changes that obsoleted some old and weak ssh key exchanges.

                    In that case, generating new keys, using the newer key exchanges should correct the problem. The issue is with the keys, not the app. I don't use Putty very often but, on Linux, I can select the key method when I create the keys.

                    PfSense running on Qotom mini PC
                    i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                    UniFi AC-Lite access point

                    I haven't lost my mind. It's around here...somewhere...

                    1 Reply Last reply Reply Quote 0
                    • jimpJ
                      jimp Rebel Alliance Developer Netgate
                      last edited by

                      In this case it's the key exchange protocol PuTTY can't use, not the keys themselves.

                      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
                      • First post
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.