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

    Ssh on embeded

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    12 Posts 3 Posters 7.2k 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.
    • S Offline
      sullrich
      last edited by

      Thanks, please test next snapshot.

      1 Reply Last reply Reply Quote 0
      • M Offline
        morbus
        last edited by

        Grabbed 2.0-ALPHA-ALPHA built on Wed Nov 12 13:31:08 EST 2008 FreeBSD 7.1-PRERELEASE
        Still not quite there same errors as last time. Tried re saving all the user and ssh stuff but with no luck.
        Still can login with default pass and get the dir missing error.

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

          Please show the updated errors.  Thanks

          1 Reply Last reply Reply Quote 0
          • M Offline
            morbus
            last edited by

            login as: admin
            Server refused our key <–-- system trying key entered in useradmin for the admin user
            Using keyboard-interactive authentication.
            Password: <– I entered the WebGUI password that works on the web gui
            Access denied
            Using keyboard-interactive authentication.
            Password: <– I used the "pfsense" default password
            Last login: Wed Nov 12 19:40:49 2008
            Copyright © 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
                    The Regents of the University of California.  All rights reserved.

            Could not chdir to home directory /home/admin: No such file or directory <– missing dir

            *** Welcome to pfSense 2.0-ALPHA-ALPHA-embedded on pfsense ***

            LAN(LAN)*                ->  xl0    ->      192.168.1.2
              WAN(WAN)*                ->  xl1    ->      84.92.249.42(PPPoE)
              OPT1(VLAN103)            ->  vlan0  ->      10.0.0.1
              OPT2(VLAN102)            ->  vlan1  ->      10.0.1.1

            pfSense console setup


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

            Enter an option:

            There are no errors from the GUI or syslogs that give away a problem there

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

              Try the next snap.  If it fails edit the user again in the user manager and click save.

              1 Reply Last reply Reply Quote 0
              • M Offline
                morbus
                last edited by

                Sorry still not there.

                I have tried saving all the the ssh and user and group bits and disabling ssh and re enabling it and removing and adding the shell rights for admin but still the changes arn't being saved. :-(

                Sorry

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

                  Think I finally tracked this one down..

                  pfSense:/home/admin/.ssh#  ls
                  authorized_keys

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    morbus
                    last edited by

                    2.0-ALPHA-ALPHA built on Fri Nov 21 12:50:48 EST 2008 FreeBSD 7.1-PRERELEASE

                    This is better. I can now login with the user admin and an ssl key.
                    But I still can't login with the WebGUI admin password. To login as admin I have to use the default "pfsense" password.

                    Also when I login as admin there is no pfsense console menu. The menu files arn't in /home/admin only a .ssh dir.

                    1 Reply Last reply Reply Quote 0
                    • N Offline
                      nocer
                      last edited by

                      Hi,

                      Also when I login as admin there is no pfsense console menu. The menu files arn't in /home/admin only a .ssh dir.

                      Just copy .(dot) files from ~root and you're done. It's of course un-official, dirty workaround but quick and works as you want. That's what I always do.

                      cheers,

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

                        @morbus:

                        2.0-ALPHA-ALPHA built on Fri Nov 21 12:50:48 EST 2008 FreeBSD 7.1-PRERELEASE
                        This is better. I can now login with the user admin and an ssl key.
                        But I still can't login with the WebGUI admin password. To login as admin I have to use the default "pfsense" password.

                        Did you change the password in the user manager for the admin account?

                        @morbus:

                        Also when I login as admin there is no pfsense console menu. The menu files arn't in /home/admin only a .ssh dir.

                        Fixed, thanks.

                        1 Reply Last reply Reply Quote 0
                        • M Offline
                          morbus
                          last edited by

                          @sullrich:

                          Did you change the password in the user manager for the admin account?

                          Yep, I can't use the auto upgrade facility as my CF card is to small. So I image the card, boot and then restore the config. Just to be sure I also opened the admin user in the user manager and re-entered the password for admin and saved it. The saved password works on the WebGUI just not SSH

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