I need some help with SSH. I’ve got a 3D printer, and it’s a bit more advanced than I’m used to.
Questions:
How do you transfer and download files or folders to and from a remote machine using SSH?
ZSH-related question:
I use ZSH. How can I use my ZSH shell and settings on the remote machine?
I assume I need to install ZSH on the remote machine and copy my .zshrc, aliases, etc., over. But is there a way to use my settings on the remote machine without copying them directly?
Is there a way to set it up so that files always download to the same location on my local machine? This way, I wouldn’t have to specify the path every time
Regarding ZSH: does it need to be installed on the remote machine? I know it seems logical, but for people who use SSH regularly, there must be a way to use their own shell without installing it on every remote machine.
That would depend on the slicer as well as the printer firmware you’re using.
I’ve used the (Prusa/Super)Slicer for the most part and print jobs can be send automatically to the printer, mine was hooked up via LAN and I’m using Mainsail as the printers browser-based UI. Which is running Clipper as a firmware, An Raspberry Pi 3b with a headless DietPi installation controls the whole printer. No manual file transfers via microSD or so. Mainsail is accessible via Desktop as well as Mobile web browsing.
The PrusaSlicer supports https for sending jobs to the printer, SuperSlicer supports SSL certificates additionally. I guess the OrcaSlicer does include the same functionalites, as it’s also a fork of Slic3r in the end. Even if it is a fork of Bambu Studio which itself is a fork of PrusaSlicer which is a fork of Slic3r in the end.
But I have to say that I’m currently not up to date, as my 3D printer build has been a covid project to me. Mostly for the building part and optimizing it mechanically.
Transferring files to the printer is simple enough—I’ve done it through Mainsail. However, the printer occasionally needs calibration, and Klipper generates graphs (saved as PNGs) for fine-tuning. I’d like an easier way to transfer those files and my config files between my local and remote machines to keep everything synced.
I’m thinking of creating scripts for this and learning more about SSH. I’m using the Kitty terminal, which supports displaying images. With the right setup on the remote machine, it should work.
I might also try installing the Ranger file manager on the remote machine—it could be useful.