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

    Multicast - Client Drop - SSH Remote

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    2
    3
    390
    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.
    • A
      apollo40
      last edited by

      Hey,

      i had a Multicast Session with Fog 1.4.4.

      Round about 150 Clients.

      Everthing worked fine as usual, but 2 didnt make it an quit the session. They hang at the Partclone Screen.

      I wanna make a remote ssh session to them to shut them down and start a new Multicast Deployment.
      I’m far away from the Clients, so i cant go there and shut them down.

      I can reach them over there IP-Adress with Putty over SSH.

      But i need a Login for the Session. Is there a General User and Password i can use to make a remote shutdown?

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by Sebastian Roth

        @apollo40 The general user would be root but as there is no password set within the FOS Linux system you won’t be able to connect to those machines now. Unfortunately there is no chance as far as I know.

        Next time when you’re doing this you might want to ask before starting the session. You can modify the FOS inits and set a password (or add a SSH key) so you can connect and shutdown those machines.

        Take a look at this wiki article: https://wiki.fogproject.org/wiki/index.php/Modifying_the_Init_Image#Version_1.0.0_and_up

        To be able to set the password you usually need to chroot into tht mounted path and then run passwd. The chroot might fail because of libraries being of very different versions. But you can still use the password hash from your local Linux system (e.g. the FOG server) and copy&paste that into initmountdir/etc/shadow…

        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
          Sebastian Roth Moderator
          last edited by

          @apollo40 Or you can use a postinit script to set the password: https://forums.fogproject.org/post/88286

          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

          140

          Online

          12.1k

          Users

          17.3k

          Topics

          155.3k

          Posts
          Copyright © 2012-2024 FOG Project