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

    Odd SSH login issue

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 2 Posters 1.0k 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.
    • R Offline
      raywalters
      last edited by

      Good morning,

      When trying to SSH into our PF sense box running on a Netgate APU running 2.2.2-RELEASE (amd64) we get some weird behavior.

      We can successfully open the login dialog in our command window. However, when we enter a user name (either admin or root) and hit enter the server unexpectedly closes the connection. No matter what we do, we cannot get past this point so cannot SSH into the box.

      We have checked the webgui and made sure that SSH access is allowed, we are set to use passwords and not keys at this time.

      As stated above we can get into the webgui and the box is working in all other regards.

      Not sure if related, but when we try to get to the console menu through the serial connection, we fail there as well. All we get are the same four lines talking about freebsd at about 45 second intervals.

      Any insight someone can give would be much appreciated.

      1 Reply Last reply Reply Quote 0
      • dotdashD Offline
        dotdash
        last edited by

        If you want help with this, you'll want to say what the error message was. Did you check the system logs, free disk space, etc?

        1 Reply Last reply Reply Quote 0
        • R Offline
          raywalters
          last edited by

          I had indeed checked the logs before posting, went back and checked again and found this that was not there before. (checked through web gui)

          May 7 13:56:08 sshd[3262]: in openpam_check_desc_owner_perms(): /etc/pam.d/sshd: insecure ownership or permissions
          May 7 13:56:08 sshd[3262]: in openpam_check_desc_owner_perms(): /etc/pam.d/sshd: insecure ownership or permissions
          May 7 13:56:08 sshd[3262]: fatal: PAM: initialisation failed
          May 7 13:56:08 sshd[3262]: fatal: PAM: initialisation failed

          1 Reply Last reply Reply Quote 0
          • dotdashD Offline
            dotdash
            last edited by

            Was this an upgrade? I have heard of permissions problems after upgrading. I would save the config, burn a fresh sd card, and restore.

            1 Reply Last reply Reply Quote 0
            • R Offline
              raywalters
              last edited by

              Indeed it was. I will definitely do that. Thanks for your feedback!

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