Ssh is not possible



  • Hi Friends

    I changed the admin password in my pfsense , Now I am not able to use ssh to pfsense form other machine what can I do retrieve it back please help me

    Thanks


  • Netgate Administrator

    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



  • 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$


  • Netgate Administrator

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

    Steve



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


  • Netgate Administrator

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

    Steve



  • @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 ..


  • Netgate Administrator

    Reseting the password should not change any other configuration.

    Can you login as root?

    Steve



  • @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


  • Netgate Administrator

    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



  • Thanks stive all are working fine thanks for your valuable suggestion


Log in to reply