• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Need ssh on fog client

    Scheduled Pinned Locked Moved
    Linux Problems
    2
    10
    5.5k
    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
      szhvoj
      last edited by

      I tried to put dropbear on the fog client (init.xz), but even if I use 32bit or 64bit it says “binary execution error”.
      How do I add a ssh server to the fog client?

      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        Upgrade to svn, ssh is already setup and installed.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

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

          Thanks a lot for the tip, it works. But where can I find the password or the key?

          1 Reply Last reply Reply Quote 0
          • Tom ElliottT
            Tom Elliott
            last edited by

            What do you mean?

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

            1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott
              last edited by

              There is no password set to the root account, therefore you can’t ssh into the client. The key is randomly generated everytime the system boots.

              The reasons behind no password on the root account is it would be a potential security hole.

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

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

                I get a prompt for password: (192.168.41.23 is the fog client running in debug mode)

                ssh 192.168.41.23

                The authenticity of host ‘192.168.41.23 (192.168.41.23)’ can’t be established.
                ECDSA key fingerprint is 9b:4f:79:21:2a:0d:36:7a:d1:ec:ce:ad:8b:61:b4:e9.
                Are you sure you want to continue connecting (yes/no)? yes
                Warning: Permanently added ‘192.168.41.23’ (ECDSA) to the list of known hosts.
                root@192.168.41.23’s password:
                Permission denied, please try again.
                root@192.168.41.23’s password:
                Permission denied, please try again.
                root@192.168.41.23’s password:
                Permission denied (publickey,password,keyboard-interactive).

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

                  It’s true, there is not password set in /etc/shadow, but SSH asks for any… 😞

                  1 Reply Last reply Reply Quote 0
                  • Tom ElliottT
                    Tom Elliott
                    last edited by

                    The idea of ssh on the init is to go in the opposite direction:

                    Client (debug) to the server side.

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

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

                      I’d like to manage the clients while they are running.
                      I need to reboot or debug the client, if it isn’t doing its job correctly.
                      I now added an authorized_keys file to the root account and it works.
                      Thanks!

                      1 Reply Last reply Reply Quote 0
                      • Tom ElliottT
                        Tom Elliott
                        last edited by

                        Adding authorized_keys will do the job, but I’m not going to add it. Mostly because of the security involvements. If I create a copied authorized keys, it’d be done using methods that would be extremely insecure as it would always have to be the same key.

                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post

                        142

                        Online

                        12.1k

                        Users

                        17.3k

                        Topics

                        155.3k

                        Posts
                        Copyright © 2012-2024 FOG Project