mcaselector icon indicating copy to clipboard operation
mcaselector copied to clipboard

[Suggestion] Open File from SSH remote server

Open steven12138 opened this issue 3 years ago • 7 comments

As the title to Open the file from SSH remote server, it will be more convenient to edit the server map.

steven12138 avatar Dec 21 '20 06:12 steven12138

I thought about this a little bit.

There are 2 ways this could work:

  • Connect to the server and pull all the MCA files, then generate the map and with every change, reupload the MCA files to the server. Which would just automate the process of downloading, editing and reuploading the world. This might be ok for small worlds, but not for large worlds.
  • The second one, which makes more sense in my opinion, is to use MCA Selector in some kind of "remote" mode. So basically there is going to be 2 instances of MCA Selector running, one on the server in CLI mode and the other one on the client in UI mode. The client would send commands to the server and the server would reply with the results (selections, images, exported chunks, overlay data...)

Querz avatar Apr 27 '21 08:04 Querz

This would be great,. What I ended up doing was sharing the servers worlds over CIFS and that seemed to work. If you wanted to go the first route above, you'd probably want to use rsync is has a solid diff algorithm.

Awesome app by the way, and very timely with the 1.17+ changes

MattPark avatar Jun 26 '21 16:06 MattPark

I just found this issue because I was looking to see if there was a way to run mcaselector for our headless VMs, so please count me as a strong supported of this idea. I was hoping to use it as part of our update to 1.17 now. I guess I can facilitate that by copying the world to another, GUI-full system, then MCA-editing it there before copying back to the VM. Sure would be nicer to be able to work on the server world directly.

vttale avatar Jun 29 '21 16:06 vttale

This sounds out of scope for mcaselector. Instead, consider using sshfs to mount your remote files as though they were local

See https://www.digitalocean.com/community/tutorials/how-to-use-sshfs-to-mount-remote-file-systems-over-ssh

nakermann1973 avatar Dec 11 '21 14:12 nakermann1973

i used win-sshfs

WaffleBits avatar Jun 10 '22 18:06 WaffleBits