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

SSH admin password should be the same as web admin right?

Scheduled Pinned Locked Moved General pfSense Questions
12 Posts 6 Posters 1.6k 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.
  • Y
    yannb
    last edited by Aug 18, 2020, 11:16 PM

    Just want to double check… when you want to SSH like ssh admin@192.168.1.1 the password should be the same as the web admin login right?

    When it asks me for the password and I paste it in, I just get a "connection closed" message.

    It's not a huge issue 'cause I just added my SSH key via the web admin instead but I'm just curious what could be the problem… 🤔

    1 Reply Last reply Reply Quote 0
    • G
      Gertjan
      last edited by Aug 19, 2020, 7:27 AM

      @yannb said in SSH admin password should be the same as web admin right?:

      I paste it in, I just get a "connection closed" message.

      paste somewhere else, in the middle of a set of "xxxxxxxxxxxxxx" and check if there aren't any surrounding spaces or other white chars.

      pasting just works fine - just tried it. Works.

      Btw : past your cert password, never your admin pfSense password, that method of login should b disabled right after initial GUI setup.

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

      Y 1 Reply Last reply Aug 19, 2020, 4:58 PM Reply Quote 0
      • G
        Gertjan
        last edited by Gertjan Aug 19, 2020, 9:20 AM Aug 19, 2020, 9:20 AM

        @yannb said in SSH admin password should be the same as web admin right?:

        I paste it in, I just get a "connection closed" message.

        paste somewhere else, in the middle of a set of "xxxxxxxxxxxxxx" and check if there aren't any surrounding spaces or other white chars.

        pasting just works fine - just tried it. Works.

        Btw : past your cert password, never your admin pfSense password, that method of login should b disabled right after initial GUI setup.

        edit : wtf : echo mode is on ?

        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
        • Y
          yannb @Gertjan
          last edited by Aug 19, 2020, 4:58 PM

          @Gertjan cert password? The whole point of a SSH cert is not to use a password… 🤔 Once you have a cert added it doesn't ask for a password. I'm probably misunderstanding what you mean.

          that method of login should b disabled right after initial GUI setup

          I think I read in the docs that you can only log in via password from the LAN… This is for my home setup so it should be safe enough in theory no?

          Thanks!

          G 1 Reply Last reply Aug 20, 2020, 6:49 AM Reply Quote 0
          • G
            Gertjan @yannb
            last edited by Gertjan Aug 20, 2020, 6:53 AM Aug 20, 2020, 6:49 AM

            @yannb said in SSH admin password should be the same as web admin right?:

            you have a cert added it doesn't ask for a password

            It's a choice.
            Cert can be baked without a password.
            Normally, I add one in. (dono why any more, it's just a reflex)

            @yannb said in SSH admin password should be the same as web admin right?:

            log in via password from the LAN

            By adding a "SSH in" firewall rule on any interface, you could login from any interface.
            But for WAN this would be considered as a security risk.
            Other interface : the choice is up to you.
            On LAN : disable the default anti-lockout rule, make a new one that specifies your (source) IP adresses and only your device can login.
            Etc etc.

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

            N A 2 Replies Last reply Aug 20, 2020, 6:52 AM Reply Quote 0
            • N
              noplan @Gertjan
              last edited by Aug 20, 2020, 6:52 AM

              @Gertjan
              phuuu glad i'm not alone with that reflex ;)

              1 Reply Last reply Reply Quote 1
              • N
                nbctcp
                last edited by Aug 22, 2020, 12:36 PM

                I don't have problem with pfsense 2.4.5
                my ssh admin password is the same as gui

                ssh admin@10.0.1.81

                Password for admin@pfSense.ngtrain.com:
                pfSense - Netgate Device ID: 3433882c484aeebf8e40

                *** Welcome to pfSense 2.4.5-RELEASE-p1 (amd64) on pfSense ***

                WAN (wan) -> vtnet0 -> v4: 10.0.1.81/24
                LAN (lan) -> vtnet1 -> v4: 192.168.1.1/24

                1. Logout (SSH only) 9) pfTop
                2. Assign Interfaces 10) Filter Logs
                3. Set interface(s) IP address 11) Restart webConfigurator
                4. Reset webConfigurator password 12) PHP shell + pfSense tools
                5. Reset to factory defaults 13) Update from console
                6. Reboot system 14) Disable Secure Shell (sshd)
                7. Halt system 15) Restore recent configuration
                8. Ping host 16) Restart PHP-FPM
                9. Shell

                Enter an option:

                1 Reply Last reply Reply Quote 0
                • A
                  AKEGEC @Gertjan
                  last edited by Aug 22, 2020, 4:49 PM

                  Hi all, the password is the same.

                  @Gertjan said in SSH admin password should be the same as web admin right?:

                  @yannb said in SSH admin password should be the same as web admin right?:

                  you have a cert added it doesn't ask for a password

                  It's a choice.
                  Cert can be baked without a password.
                  Normally, I add one in. (dono why any more, it's just a reflex)

                  @yannb said in SSH admin password should be the same as web admin right?:

                  log in via password from the LAN

                  By adding a "SSH in" firewall rule on any interface, you could login from any interface.
                  But for WAN this would be considered as a security risk.
                  Other interface : the choice is up to you.
                  On LAN : disable the default anti-lockout rule, make a new one that specifies your (source) IP adresses and only your device can login.
                  Etc etc.

                  1 Reply Last reply Reply Quote 0
                  • N
                    nbctcp
                    last edited by Aug 22, 2020, 11:55 PM

                    Could pfsense using port knocking like linux did?
                    I mean telnet other port 3x then it will open port 22

                    A G 2 Replies Last reply Aug 23, 2020, 5:37 AM Reply Quote 0
                    • A
                      AKEGEC @nbctcp
                      last edited by Aug 23, 2020, 5:37 AM

                      @nbctcp port 8*** maybe?

                      1 Reply Last reply Reply Quote 0
                      • S
                        stephenw10 Netgate Administrator
                        last edited by Aug 23, 2020, 11:06 AM

                        No, there is no port knocking in pfSense. Currently at least.

                        Steve

                        1 Reply Last reply Reply Quote 0
                        • G
                          Gertjan @nbctcp
                          last edited by Aug 24, 2020, 5:31 AM

                          @nbctcp said in SSH admin password should be the same as web admin right?:

                          Could pfsense using port knocking like linux did?
                          I mean telnet other port 3x then it will open port 22

                          Way back - like last century, I used such a method to gain access to private resources, while published on public networks.
                          It worked well.

                          These days we have (Open)VPN ;)

                          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
                          12 out of 12
                          • First post
                            12/12
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                            This community forum collects and processes your personal information.
                            consent.not_received