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

    SSH not working as it did before 22.01 upgrade

    Scheduled Pinned Locked Moved General pfSense Questions
    8 Posts 4 Posters 878 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.
    • R Offline
      Ramosel
      last edited by

      I've been reading posts and the blog... but that doesn't mean I'm reading the right things.
      So I come here after trying. Everything is working fine on my 22.01 upgrade except SSH. Keys no longer accepted. No problem, I was running an older version of Putty so I updated it and regen'd the public and private keys, and reconfigured Putty to the new pvt key. Now I connect just fine but all I get is a command line, not the serial output menu (sg4860) with the 16 config options. It's as if the number "8) Shell" is already selected. But unlike before when I could "exit" the shell and go back to the menu, if I type exit, it drops the connection altogether. I've got a fall back option for now but I'd really like to get this working again. Have I missed a new config item? Any help would be appreciated.

      Thanks,
      Rick

      NollipfSenseN johnpozJ 2 Replies Last reply Reply Quote 0
      • NollipfSenseN Offline
        NollipfSense @Ramosel
        last edited by

        @ramosel I can tell you that I have been ssh in since upgrading to pfSense+ no problem, and just now seeing your post...maybe delete that putty, reboot, and install fresh one then SSH in again.

        pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
        pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

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

          @ramosel what account are you logging in with? admin?

          Works fine here..

          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 24.11 | Lab VMs 2.8, 24.11

          R 1 Reply Last reply Reply Quote 0
          • R Offline
            Ramosel @johnpoz
            last edited by

            @johnpoz said in SSH not working as it did before 22.01 upgrade:

            Works fine here..

            Using my admin account. The "factory" admin account is disabled. Has been for years.

            Are you using the latest Putty... 0.76?

            John, Thanks to you, my fallback is working until I get this fixed. I still run the Raspberry Pi with the screen command you helped with to access the SG-4860 locally. For now I just SSH the RPi and run screen.

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

              @ramosel said in SSH not working as it did before 22.01 upgrade:

              Using my admin account. The "factory" admin account is disabled. Has been for years.

              Well other accounts are not going to run the script that brings up that menu.. Lots of threads about that around here, and how to get it to run when you login.

              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 24.11 | Lab VMs 2.8, 24.11

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

                Custom accounts never get the menu because they don't have privileges to use most of the options.

                If you saw the menu when you logged in with a custom account you probably changed something in the account's shell files (e.g. .profile or similar) and those may have been overwritten in the upgrade.

                You'll need to make whatever customizations you made again.

                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!

                R 2 Replies Last reply Reply Quote 2
                • R Offline
                  Ramosel @jimp
                  last edited by Ramosel

                  @jimp said in SSH not working as it did before 22.01 upgrade:

                  Custom accounts never get the menu because they don't have privileges to use most of the options.

                  If you saw the menu when you logged in with a custom account you probably changed something in the account's shell files (e.g. .profile or similar) and those may have been overwritten in the upgrade.

                  You'll need to make whatever customizations you made again.

                  Now it's coming back to me... yep, actually, Chris helped me with that... I called about something in your book that didn't make sense. After he explained whatever that was he asked if I had any other questions and he was kind enough to walk me through adding those customiations. v2.1.2? Damn, I'll have to dig up my notes.

                  Speaking of Chris, I hope you all are still on good terms. How's he doing?

                  Rick

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    Ramosel @jimp
                    last edited by

                    @jimp said in SSH not working as it did before 22.01 upgrade:

                    You'll need to make whatever customizations you made again.

                    John, Jim,
                    Thanks as always for your help, even if was just a nudge in the right direction. All back and working again.

                    Funny those changes survived all the recent upgrades and the conversion to "+"... but this last one hosed it up.

                    Now to get my backup SG-4860 built with the fixed ZFS install.

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