MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    SSH Tutorial

    Scheduled Pinned Locked Moved General Discussion
    15 Posts 6 Posters 5.3k Views 6 Watching
    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.
    • lavolp3L Offline
      lavolp3 Module Developer @blacter
      last edited by

      @blacter @sdetweil FYI: you can auto-enable ssh on a raspberry pi when setting it up by putting a blank file with the name “ssh” (no extension) into the boot partition.
      When you start the pi, it will find and remove the file and enable ssh.

      How to troubleshoot modules
      MMM-soccer v2, MMM-AVStock

      S 1 Reply Last reply Reply Quote 0
      • S Away
        sdetweil @blacter
        last edited by

        @blacter
        also, you are supposed to be able to have a ‘disk view’ over the remote ssh disk with

        https://osxfuse.github.io/

        I can’t get it to work on catalina 15.5 at the moment

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • S Away
          sdetweil @lavolp3
          last edited by

          @lavolp3 yeh, tricky crap… just click the buttons (unless u are making 100 of these disks)

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          lavolp3L 1 Reply Last reply Reply Quote 0
          • lavolp3L Offline
            lavolp3 Module Developer @sdetweil
            last edited by

            @sdetweil said in SSH Tutorial:

            @lavolp3 yeh, tricky crap… just click the buttons (unless u are making 100 of these disks)

            it is the best way to run a pi headlessly. I never use the GUI.

            How to troubleshoot modules
            MMM-soccer v2, MMM-AVStock

            S 1 Reply Last reply Reply Quote 0
            • S Away
              sdetweil @lavolp3
              last edited by

              @lavolp3 i don’t use the gui either after initial setup…

              but u can’t run headless AND have MM on it… (unless in serveronly mode)

              use ssh ans sftp file system over…
              winscp and bitvise clients…

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              lavolp3L 1 Reply Last reply Reply Quote 0
              • lavolp3L Offline
                lavolp3 Module Developer @sdetweil
                last edited by

                @sdetweil said in SSH Tutorial:

                but u can’t run headless AND have MM on it… (unless in serveronly mode)

                yeah you got me it’s not really headless.
                I set up the pi on my laptop, start it and install the mirror via ssh already. So I don’t have to attach a keyboard to the pi.

                How to troubleshoot modules
                MMM-soccer v2, MMM-AVStock

                S 1 Reply Last reply Reply Quote 0
                • S Away
                  sdetweil @lavolp3
                  last edited by

                  @lavolp3 absolutely!.. I only use the actual pi keyboard/mouse when absolutely neccessary… got one of the little combo keyboard/mouse things. but still a pain

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    blacter
                    last edited by

                    Okay, I’m connected to the MagicMirror on my Mac’s terminal. Is there a way I can now open the config.js file in a text editor on my Mac?

                    S 1 Reply Last reply Reply Quote 0
                    • S Away
                      sdetweil @blacter
                      last edited by

                      @blacter if u install those other components then you open a sshfs session to have a file browser over the pi disk, then yes,

                      short of that u have to use the editor ON the pi… text mode

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

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

                        @blacter If you have interest/time … the VS Code editor runs on macOS and has a nice ‘remote ssh’ functionality to edit files remotely. While it has a lot of “programmer” functions, it’s not a bad editor to help anyone. (And this, from a guy who prefers a command line.)

                        R 1 Reply Last reply Reply Quote 1
                        • 1
                        • 2
                        • 1 / 2
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy