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

My pfsense failed an audit by securitymetrics.com

Firewalling
6
46
20.4k
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.
  • J
    jlepthien
    last edited by Mar 4, 2010, 7:48 AM

    No. Login via putty and ssh. And then do that command in /root

    | apple fanboy | music lover | network and security specialist | in love with cisco systems |

    1 Reply Last reply Reply Quote 0
    • K
      kapara
      last edited by Mar 4, 2010, 7:53 AM

      Seems to be going from Bad to worse.

      I deleted the key and unchecked the box disabling password for SSH.  No when I connect I get:

      Disconnected:  No Supported authentication methods available.

      Skype ID:  Marinhd

      1 Reply Last reply Reply Quote 0
      • J
        jlepthien
        last edited by Mar 4, 2010, 7:54 AM

        Use your console to connect to the box…

        | apple fanboy | music lover | network and security specialist | in love with cisco systems |

        1 Reply Last reply Reply Quote 0
        • K
          kapara
          last edited by Mar 4, 2010, 7:56 AM

          ok.  Disables SSH and enabled and now I am back in.

          cat: .ssh/authorized_keys: No such file or directory

          Skype ID:  Marinhd

          1 Reply Last reply Reply Quote 0
          • K
            kapara
            last edited by Mar 4, 2010, 7:58 AM

            Ok.  So I repasted info and connected with private ket and got the following:

            login as: root
            Server refused our key
            Using keyboard-interactive authentication.
            Password:

            Though I was able to get through….

            Skype ID:  Marinhd

            1 Reply Last reply Reply Quote 0
            • J
              jlepthien
              last edited by Mar 4, 2010, 7:59 AM

              Also when you login as 'admin'?

              | apple fanboy | music lover | network and security specialist | in love with cisco systems |

              1 Reply Last reply Reply Quote 0
              • K
                kapara
                last edited by Mar 4, 2010, 8:04 AM

                I am able to get in no matter what…

                Skype ID:  Marinhd

                1 Reply Last reply Reply Quote 0
                • J
                  jlepthien
                  last edited by Mar 4, 2010, 8:06 AM

                  Log in again and then do:

                  • cd /root
                  • cd .ssh
                  • ls -la (post output, there should be a authorized_keys files after you pasted your key via GUI)

                  Are you running on embedded?

                  | apple fanboy | music lover | network and security specialist | in love with cisco systems |

                  1 Reply Last reply Reply Quote 0
                  • K
                    kapara
                    last edited by Mar 4, 2010, 8:08 AM

                    Yes Embedded….

                    [1.2.3-RELEASE]                                                                [root@wall.test.local]/root(1): cd /root
                    [1.2.3-RELEASE]                                                                [root@wall.test.local]/root(2): cd .ssh
                    [1.2.3-RELEASE]                                                                [root@wall.test.local]/root/.ssh(3): ls -la
                    total 1
                    drwx–----  2 root  wheel  512 Mar  4 07:49 .
                    drwxr-xr-x  4 root  wheel  512 Mar  4 05:08 ..
                    [1.2.3-RELEASE]                                                                [root@wall.test.local]/root/.ssh(4):

                    Skype ID:  Marinhd

                    1 Reply Last reply Reply Quote 0
                    • J
                      jlepthien
                      last edited by Mar 4, 2010, 8:12 AM

                      So there is something wrong with your install. The authorized_keys file does not get created.

                      Try this:

                      • /etc/rc.conf_mount_rw
                      • then create the file manually with e.g. vi /root/.ssh/authorized_keys and paste in your key
                      • /etc/rc.conf_mount_ro

                      Then check again…

                      | apple fanboy | music lover | network and security specialist | in love with cisco systems |

                      1 Reply Last reply Reply Quote 0
                      • K
                        kapara
                        last edited by Mar 4, 2010, 8:15 AM

                        vi/root/.ssh/authorized_keys: Command not found.

                        Skype ID:  Marinhd

                        1 Reply Last reply Reply Quote 0
                        • K
                          kapara
                          last edited by Mar 4, 2010, 8:22 AM

                          here is a screen shot via winscp….

                          Capture.PNG
                          Capture.PNG_thumb

                          Skype ID:  Marinhd

                          1 Reply Last reply Reply Quote 0
                          • J
                            jlepthien
                            last edited by Mar 4, 2010, 8:22 AM

                            vi and a [space] after that…

                            | apple fanboy | music lover | network and security specialist | in love with cisco systems |

                            1 Reply Last reply Reply Quote 0
                            • J
                              jlepthien
                              last edited by Mar 4, 2010, 8:23 AM

                              @kapara:

                              here is a screen shot via winscp….

                              So? That is /etc/ssh and on your box…
                              You generated the key on your windows system, didn't you?
                              The keys need to be in /root/.ssh/

                              | apple fanboy | music lover | network and security specialist | in love with cisco systems |

                              1 Reply Last reply Reply Quote 0
                              • K
                                kapara
                                last edited by Mar 4, 2010, 8:33 AM

                                Still no go.  Where can I find that file I created?  I can log in even though the data shows as there in advanced.

                                Skype ID:  Marinhd

                                1 Reply Last reply Reply Quote 0
                                • K
                                  kapara
                                  last edited by Mar 4, 2010, 8:37 AM

                                  Found it in Winscp

                                  Capture.PNG
                                  Capture.PNG_thumb

                                  Skype ID:  Marinhd

                                  1 Reply Last reply Reply Quote 0
                                  • J
                                    jlepthien
                                    last edited by Mar 4, 2010, 8:38 AM

                                    Yep. So it should be there via ssh, too. If it still does not work I have no idea left what could be wrong.

                                    | apple fanboy | music lover | network and security specialist | in love with cisco systems |

                                    1 Reply Last reply Reply Quote 0
                                    • K
                                      kapara
                                      last edited by Mar 4, 2010, 8:39 AM

                                      I will reboot

                                      Skype ID:  Marinhd

                                      1 Reply Last reply Reply Quote 0
                                      • K
                                        kapara
                                        last edited by Mar 4, 2010, 9:17 AM

                                        Working. :-) Thanks

                                        Skype ID:  Marinhd

                                        1 Reply Last reply Reply Quote 0
                                        • J
                                          jlepthien
                                          last edited by Mar 4, 2010, 9:18 AM

                                          Glad it is working now ;-)

                                          | apple fanboy | music lover | network and security specialist | in love with cisco systems |

                                          1 Reply Last reply Reply Quote 0
                                          36 out of 46
                                          • First post
                                            36/46
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.