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

    ssh vscode

    Scheduled Pinned Locked Moved General pfSense Questions
    12 Posts 2 Posters 1.3k 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.
    • Cloudless Smart HomeC
      Cloudless Smart Home
      last edited by

      been learning vscode and wondering if anyone knows how to connect directly to shell or how to handle the extra choice of hitting 8 after ssh login, then go to shell? I can see under connecting / details that I am totally connecting, but vscode doesn't understand the extra step of hitting 8, and then I can't get to the shell

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

        If you use an account other than admin (like root) you won't see the menu presented so don't need to enter an option.

        Steve

        Cloudless Smart HomeC 2 Replies Last reply Reply Quote 1
        • Cloudless Smart HomeC
          Cloudless Smart Home @stephenw10
          last edited by

          @stephenw10 I had no idea, lol. thanks!

          1 Reply Last reply Reply Quote 0
          • Cloudless Smart HomeC
            Cloudless Smart Home @stephenw10
            last edited by Cloudless Smart Home

            @stephenw10 getting errors still. google is no help on this one...

            [16:54:51.762] > Warning: no access to tty (Bad file descriptor).
            > Thus no job control in this shell.
            
            

            I use the same credentials and key to login via ssh, and no issues, and the same setup to login to my docker and get right in.

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

              What are you sending to produce that output?

              Cloudless Smart HomeC 1 Reply Last reply Reply Quote 0
              • Cloudless Smart HomeC
                Cloudless Smart Home @stephenw10
                last edited by

                @stephenw10 when vscode is attempting to connect to pfsense via the microsoft remote - ssh extension, it shows connecting and you can click show details, then a dialog pops up.

                Screenshot 2023-02-01 at 5.21.40 PM.png

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

                  Hmm, not something I've played with. Do you see errors in pfSense?

                  It looks like it logged in OK though.

                  Cloudless Smart HomeC 1 Reply Last reply Reply Quote 0
                  • Cloudless Smart HomeC
                    Cloudless Smart Home @stephenw10
                    last edited by

                    @stephenw10 maybe partially, but it's kicking me out.

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

                      Maybe try a different user entirely. The root user will show the menu to a console but doesn't have to. Some other user just dumps you at the CLI every time.

                      Cloudless Smart HomeC 1 Reply Last reply Reply Quote 0
                      • Cloudless Smart HomeC
                        Cloudless Smart Home @stephenw10
                        last edited by

                        @stephenw10 oh, I already did that after you told me earlier. it got me closer, but having a different error after logging in with a new admin user name.

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

                          What error are you seeing now?

                          Cloudless Smart HomeC 1 Reply Last reply Reply Quote 0
                          • Cloudless Smart HomeC
                            Cloudless Smart Home @stephenw10
                            last edited by

                            @stephenw10 the one in the picture above

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