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 6.1k 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.
    • S Offline
      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 Offline
          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 Offline
              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 Offline
                  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
                    • R Offline
                      RoddyJoff @sojourner
                      last edited by

                      @sojourner Thanks for suggesting this, I am now using it and it makes remote code editing a breeze.

                      For those wishing to use it, after installing VS Code read this article to enable remote editing.

                      [https://petri.com/how-to-edit-linux-files-remotely-in-windows-using-visual-studio-code](link url)

                      Thanks again.

                      1 Reply Last reply Reply Quote 0
                      • BKeyportB Offline
                        BKeyport Module Developer
                        last edited by

                        There’s also lots of other ways to get remote access to the Pi so you can edit with normal editors and save there.

                        SAMBA (easy, IMO), or other tools to create a share… Just search and ye shall find.

                        The "E" in "Javascript" stands for "Easy"

                        1 Reply Last reply Reply Quote 0
                        • 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