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

    PuTTY SSH - No Console Options

    General pfSense Questions
    3
    6
    1.1k
    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.
    • B
      beachbum2021
      last edited by beachbum2021

      I've setup external access to the pfSense interface using a public key. I can access it from an external IP fine using PuTTY however I only have the generic linux based view...In Ubuntu I want to bind the localhost and access the actual GUI but for now this method will have to do.

      17de6b8a-9baa-484f-9ab6-12f6ab90399c-image.png

      same thing in ubuntu wsl2
      a967e79e-6780-4de6-86ae-20453ff76632-image.png

      1 Reply Last reply Reply Quote 0
      • B
        beachbum2021
        last edited by

        update on this, I did get the localhost binding working now but I would be interested in knowing how to navigate to the console options through putty since I wont always have access to a Ubuntu instance.

        a4fe6564-e476-43d3-acf0-baf85ae5ac38-image.png

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

          A bit confused to what your asking exactly.

          If you login as root/admin you would auto get the console menu.. If you login as some other account, then you would need to kick off the menu.. if you run /etc/rc.initial

          menu.png

          If your wanting to connect via a tunnel down your ssh connection to the gui, not sure port your using for the gui 5554? I run mine on 8443 (https).. you would have to deal with any cert errors about sni you used, etc.

          So here I created local binding -L to port 8443, and where that should go to down the tunnel, my pfsense IP 192.168.9.253 and what port. again 8443

          tunnel.png

          Then hit that port on my local machine loopback (127.0.0.1) and you see I get my pfsense gui.

          If you want to use localhost in your cmd that works too..

          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.7.2, 24.11

          1 Reply Last reply Reply Quote 0
          • B
            beachbum2021
            last edited by beachbum2021

            got it, thank you. I am doing the same as you but I disable the admin account for security and i also change my ports. ssh is now 222 and the admin interface is changed to 5554 with a binding to localhost. see below.
            [2.4.5-RELEASE][@pfSense.localdomain]/home/: [2.4.5-RELEASE][@pfSense.localdomain]/home/: which /etc/rc.initial
            [2.4.5-RELEASE][@pfSense.localdomain]/home/:: Too many arguments.
            [2.4.5-RELEASE][@pfSense.localdomain]/home/: /etc/rc.initial
            [2.4.5-RELEASE]@pfSense.localdomain]/home/: /etc/rc.initial

            Netgate SG-3100 - Serial: - Netgate Device ID:

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

            ofwdump: could not open /dev/openfirm: Permission denied

            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:

            Ubuntu
            poweruser@WindowsLaptop:~$ ssh -L 5554:localhost:5554 -p 222 @xxxxxx
            [2.4.5-RELEASE][@pfSense.localdomain]/home/:

            this gives me the GUI in chrome as you have @ https://localhost:5554

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              You just disabled admin rather then deleting it? And I assume if you don't disable it you don't see that error?

              I also assume you redacted the username from the above output rather than somehow using an empty user?

              Steve

              1 Reply Last reply Reply Quote 0
              • B
                beachbum2021
                last edited by beachbum2021

                yeah its disabled and I redacted my new account name above. enabling the admin and generating a new key for it works normally as you explained. no restrictions

                e0479304-a6b3-463a-b5a9-e7ed4d5a194b-image.png

                bolded text9

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