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

    Ssh is not possible

    Scheduled Pinned Locked Moved General pfSense Questions
    11 Posts 2 Posters 2.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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      How did you change it?
      Password changes must be done via the webgui otherwise things can get out of sync. Change it again via the webgui and you should be able to ssh on that account.

      Steve

      1 Reply Last reply Reply Quote 0
      • R
        rakeshvijayan
        last edited by

        By your suggestion I had changed the admiin password again result is the same please sea the password section in example . I thing it not allowing me to do ssh and I tried the wrong password it shows the same result why it show like this

        hate@rivaus:~$ cd VirtualBox\ VMs/
        hate@rivaus:~/VirtualBox VMs$ sudo tar -zcvf 12.04tar.gz 12.04
        [sudo] password for hate:
        12.04/
        12.04/12.04.vbox
        12.04/12.04.vdi
        12.04/12.04.vbox-prev
        12.04/Logs/
        12.04/Logs/VBox.log.2
        12.04/Logs/VBox.log
        12.04/Logs/VBox.log.1
        12.04/Logs/VBox.log.3
        hate@rivaus:~/VirtualBox VMs$ ssh admin@10.0.0.1
        Password:
        Password:
        Password:
        admin@10.0.0.1's password:
        Permission denied, please try again.
        admin@10.0.0.1's password:

        hate@rivaus:~/VirtualBox VMs$

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

          Did you change it originally using passwd at the command line?

          Steve

          1 Reply Last reply Reply Quote 0
          • R
            rakeshvijayan
            last edited by

            I am not able to use passwd admin in command prompt ,its shows that no such user

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

              I'm asking if that's how you tried to change it the first time because using passwd is not valid in pfSense.

              Steve

              1 Reply Last reply Reply Quote 0
              • R
                rakeshvijayan
                last edited by

                @stephenw10:

                I'm asking if that's how you tried to change it the first time because using passwd is not valid in pfSense.

                Steve

                I use this way to change the admin password  , Do  I need to reset the password from the server by choosing the option 3 .If I do so any harm for my current configuration will cause ..

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

                  Reseting the password should not change any other configuration.

                  Can you login as root?

                  Steve

                  1 Reply Last reply Reply Quote 0
                  • R
                    rakeshvijayan
                    last edited by

                    @stephenw10:

                    Can you login as root?

                    Steve

                    yes steve I can login as root this is my entries

                    hate@rivaus:~$ ssh root@10.0.0.1
                    Password:
                    *** Welcome to pfSense 2.0.2-RELEASE-pfSense (i386) on m ***

                    WAN (wan)                -> em0        -> ip
                      LAN (lan)                -> fxp0      -> 10.0.0.1
                      10WAN (opt1)              -> pppoe0    -> ip(PPPoE)

                    1. Logout (SSH only)                  8) Shell
                    2. Assign Interfaces                  9) pfTop
                    3. Set interface(s) IP address      10) Filter Logs
                    4. Reset webConfigurator password    11) Restart webConfigurator
                    5. Reset to factory defaults        12) pfSense Developer Shell
                    6. Reboot system                    13) Upgrade from console
                    7. Halt system                      14) Disable Secure Shell (sshd)
                    8. Ping host

                    Enter an option:

                    why can't the admin is not activated on ssh , how can I login with admin

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

                      The admin and root accounts are effectively the same in pfSense, they should have the same password.
                      I'm not entirely sure what you have done. You are still able to login as root, presumably using the old password, have you tried the old password with the admin account?

                      Steve

                      1 Reply Last reply Reply Quote 0
                      • R
                        rakeshvijayan
                        last edited by

                        Thanks stive all are working fine thanks for your valuable suggestion

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