• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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.
  • C
    Cloudless Smart Home
    last edited by Feb 1, 2023, 8:29 PM

    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
    • S
      stephenw10 Netgate Administrator
      last edited by Feb 1, 2023, 8:48 PM

      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

      C 2 Replies Last reply Feb 1, 2023, 8:49 PM Reply Quote 1
      • C
        Cloudless Smart Home @stephenw10
        last edited by Feb 1, 2023, 8:49 PM

        @stephenw10 I had no idea, lol. thanks!

        1 Reply Last reply Reply Quote 0
        • C
          Cloudless Smart Home @stephenw10
          last edited by Cloudless Smart Home Feb 1, 2023, 10:08 PM Feb 1, 2023, 9:58 PM

          @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
          • S
            stephenw10 Netgate Administrator
            last edited by Feb 1, 2023, 10:18 PM

            What are you sending to produce that output?

            C 1 Reply Last reply Feb 1, 2023, 10:25 PM Reply Quote 0
            • C
              Cloudless Smart Home @stephenw10
              last edited by Feb 1, 2023, 10:25 PM

              @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
              • S
                stephenw10 Netgate Administrator
                last edited by Feb 1, 2023, 11:27 PM

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

                It looks like it logged in OK though.

                C 1 Reply Last reply Feb 1, 2023, 11:39 PM Reply Quote 0
                • C
                  Cloudless Smart Home @stephenw10
                  last edited by Feb 1, 2023, 11:39 PM

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

                  1 Reply Last reply Reply Quote 0
                  • S
                    stephenw10 Netgate Administrator
                    last edited by Feb 2, 2023, 12:32 AM

                    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.

                    C 1 Reply Last reply Feb 2, 2023, 1:03 AM Reply Quote 0
                    • C
                      Cloudless Smart Home @stephenw10
                      last edited by Feb 2, 2023, 1:03 AM

                      @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
                      • S
                        stephenw10 Netgate Administrator
                        last edited by Feb 2, 2023, 1:13 AM

                        What error are you seeing now?

                        C 1 Reply Last reply Feb 2, 2023, 1:14 AM Reply Quote 0
                        • C
                          Cloudless Smart Home @stephenw10
                          last edited by Feb 2, 2023, 1:14 AM

                          @stephenw10 the one in the picture above

                          1 Reply Last reply Reply Quote 0
                          12 out of 12
                          • First post
                            12/12
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                            This community forum collects and processes your personal information.
                            consent.not_received