Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    SSH is not working

    Scheduled Pinned Locked Moved Routing and Multi WAN
    16 Posts 4 Posters 244 Views 4 Watching
    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.
    • H Offline
      hack3rcon
      last edited by

      Hello,
      I'm using pfSense 2.8.1 and I enabled SSH via WebGUI:

      SSH-2.png

      I also wrote a firewall rule for it:

      SSh-1.png

      But I still can't connect to the server via SSH. Why?

      Thank you.

      S johnpozJ 2 Replies Last reply Reply Quote 0
      • S Online
        slu @hack3rcon
        last edited by

        @hack3rcon your rule is wrong, the source must be LAN subnets and not address.

        pfSense Gold subscription

        H 1 Reply Last reply Reply Quote 0
        • H Offline
          hack3rcon @slu
          last edited by hack3rcon

          Hello @slu,
          I changed it to subnets, but doesn't matter.

          S 1 Reply Last reply Reply Quote 0
          • S Online
            slu @hack3rcon
            last edited by

            @hack3rcon SSH service is running?
            Status -> Services?

            Delete the old states after you changed such a rule:
            Diagnostics -> Statues -> Reset States

            pfSense Gold subscription

            H 1 Reply Last reply Reply Quote 0
            • H Offline
              hack3rcon @slu
              last edited by

              @slu

              SSH-3.png

              SSH-4.png

              Will pressing the reset button erase my firewall rules?

              S 1 Reply Last reply Reply Quote 0
              • S Online
                slu @hack3rcon
                last edited by

                @hack3rcon no your states (open connections).

                pfSense Gold subscription

                H 1 Reply Last reply Reply Quote 0
                • H Offline
                  hack3rcon @slu
                  last edited by hack3rcon

                  @slu I did, but I can't connect to the server via ssh command.

                  S 1 Reply Last reply Reply Quote 0
                  • S Online
                    slu @hack3rcon
                    last edited by

                    @hack3rcon error is timeout?
                    You are connected to LAN with you client?

                    pfSense Gold subscription

                    H 1 Reply Last reply Reply Quote 0
                    • H Offline
                      hack3rcon @slu
                      last edited by

                      @slu Yes. I was able to connect to version 2.7.2 with SSH. This happened after the upgrade.

                      1 Reply Last reply Reply Quote 0
                      • johnpozJ Online
                        johnpoz LAYER 8 Global Moderator @hack3rcon
                        last edited by

                        @hack3rcon said in SSH is not working:

                        I also wrote a firewall rule for it:

                        Why would you need a rule - the default anti-lock out rule would allow anything on lan to talk to your webgui port and your ssh port

                        Did you disable this rule?

                        disablerule.jpg

                        Even if you did - the default any any rule on lan would also allow it. Please post up your lan rules.

                        If you test port to pfsense lan IP that your trying to ssh to - does this come back as up?

                        22.jpg

                        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 26.03.1 | Lab VMs 2.8.1, 26.03.1

                        H 1 Reply Last reply Reply Quote 0
                        • H Offline
                          hack3rcon @johnpoz
                          last edited by

                          Hello @johnpoz,
                          I guess pfSense is not stable. I got some odd errors.

                          johnpozJ 1 Reply Last reply Reply Quote 0
                          • johnpozJ Online
                            johnpoz LAYER 8 Global Moderator @hack3rcon
                            last edited by

                            @hack3rcon what errors?

                            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 26.03.1 | Lab VMs 2.8.1, 26.03.1

                            H 1 Reply Last reply Reply Quote 0
                            • H Offline
                              hack3rcon @johnpoz
                              last edited by

                              @johnpoz

                              ld-elf.so.1: Shared object "libssl.so.30" not found, required by "pkg"
                              
                              
                              patient0P johnpozJ 2 Replies Last reply Reply Quote 0
                              • patient0P Offline
                                patient0 @hack3rcon
                                last edited by

                                @hack3rcon posting that error again will confuse people, if then refer to the other thread you opened.

                                Please provide a network diagram, if that is the same installation like in the other thread, then it is an unusual setup with only one interface. Without reading your other threads, people won't know that.

                                1 Reply Last reply Reply Quote 0
                                • johnpozJ Online
                                  johnpoz LAYER 8 Global Moderator @hack3rcon
                                  last edited by johnpoz

                                  @hack3rcon so you are trying to get to ssh to fix that error.. you can run commands via the gui

                                  diagnostics / command prompt

                                  But if only a lan - not sure how pfsense would get to the internet, normally with a single interface pfsense install the interface is the "wan" in pfsense.

                                  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 26.03.1 | Lab VMs 2.8.1, 26.03.1

                                  H 1 Reply Last reply Reply Quote 0
                                  • H Offline
                                    hack3rcon @johnpoz
                                    last edited by

                                    Hello @johnpoz,
                                    In pfSense 2.7.2 I was able to connect to the server via SSH without any problems. After upgrading to 2.8.1 this problem occurred.

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post
                                    Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.