Open hfavisado opened 6 days ago
I just use sshfs on my linux device to move thing on both direction.
For host to tsp, it work for me without change with scp <src> root@192.168.33.214:/mnt/SDCARD/<dest>
Also, scp root@192.168.33.214:/mnt/SDCARD/<src> <dest>
work also from host.
We can add scp to tsp but just useless imo. edit: double check that you firewall don't block port 22 and , maybe worse mentioning, that the ssh server is well running on tsp from systools. ^^
Sorry, I didnt look into it deep enough. I actually wanted to use rsync and thought initially that rsync used scp internally for secure connections, but after reading some more, I found out that that was false. I will try to edit this issue to mention rsync instead.
Yeah, the issue beeing that the PATH missed /mnt/SDCARD/System/bin when you login in a new tty. You can fix it adding export PATH=/mnt/SDCARD/System/bin:$PATH
to /etc/profile
.
Thanks. Editing PATH
in /etc/profile
works only if logging in via tty, meaning, if I ssh into the TSP and run rsync from there. If I use rsync on a different device to the TSP, i.e. rsync <folder> root@TSP-IP-addr:/path/
, the error rsync not found
is returned. I tried editing /etc/preinit
because I was able to grep a line setting the PATH
variable there, but that didn't work either. How can I enable rsync to work without logging into tty?
Also, thank you for your patience and your great work on CrossMix OS!
Note: The following works (adding --rsync-path=/mnt/SDCARD/System/bin/rsync
) but what I'm trying to look for is if there's a way to not have to pass that parameter.
rsync root@192.168.0.123:/mnt/SDCARD/BIOS/ ~/Desktop/ -avn --progress --rsync-path=/mnt/SDCARD/System/bin/rsync
cp /mnt/SDCARD/System/rsync /user/bin
should work, I don't know well enouth the rsync protocol else to give you another solution rn but i'll look at it later ^^'
Attempt to copy files from TSP to a mac using rsync: