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

    SSH users for SSH Tunneling

    Scheduled Pinned Locked Moved General pfSense Questions
    8 Posts 5 Posters 16.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.
    • O
      olaf
      last edited by

      Hi Everybody:

      I'm trying to add ssh users without permissions to use for ssh tunneling.

      I can't create users with adduser, is there anyway to create additional users?

      Can anybody give me some advise on this?

      Thanks in advance…

      Olaf

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

        i am having a similar problem.  how do i get a shell on my pfsense machine?  if i plug directly into the box i can't get a prompt.  it is stuck a proxy_monitor.sh message.  using ALT-F1, F2, etc doesn't give me one of the other consoles.  also, i enabled ssh in the pfsense management interface, and it is running (confirmed by scanning with nmap) but i can't log in using the same account i log into the mangement interface with.

        so i'm not sure how i get a shell on the machine.

        1 Reply Last reply Reply Quote 0
        • H
          hoba
          last edited by

          Logon as user roo and password <webguipassword>. When at the menu enter option 8 to go to the shell.</webguipassword>

          1 Reply Last reply Reply Quote 0
          • S
            sullrich
            last edited by

            @hoba:

            Logon as user roo and password <webguipassword>. When at the menu enter option 8 to go to the shell.</webguipassword>

            root, not roo.

            1 Reply Last reply Reply Quote 0
            • H
              hoba
              last edited by

              uhm, yeah. that one letter must have been lost somewhere along the hops to the forumserver  ::)

              1 Reply Last reply Reply Quote 0
              • O
                olaf
                last edited by

                Hi People:

                I found how to adduser on PfSense. http://www.acodedb.com/83/how-to-add-users-and-groups-to-the-system/

                But, what do you think may be the best way to create users only for ssh tunneling?

                Thanks for advises and best regards….

                Olaf

                1 Reply Last reply Reply Quote 0
                • O
                  olaf
                  last edited by

                  Step by step:

                  #pw user add -n joe -c "Joe Smith, Jr." -d /home/none -s /bin/sh
                  #passwd joe

                  Regards,

                  Olaf

                  1 Reply Last reply Reply Quote 0
                  • A
                    atarione
                    last edited by

                    @olaf:

                    Step by step:

                    #pw user add -n joe -c "Joe Smith, Jr." -d /home/none -s /bin/sh
                    #passwd joe

                    Regards,

                    Olaf

                    hello.. I'm also attempting to do this (add user(s) just for SSH tunneling I added the user via ur prev post but I get an error that the server rejected our key (admin works) the unprivilaged user can only log in if i uncheck the "Disable Password login for Secure Shell (KEY only)" option.

                    anyone know how I can get Key login working ?

                    EDIT… NEVERMIND i figured it out

                    just needed to copy the .ssh/authorized_keys to the new users /home/none location.

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