You can’t use remote paths. You must use local paths. To to do what you
want to do, copy the full repository from box1 to box2 using for example
scp or rsync to another location, like /data/source. Then run the
crx2oak tool on box2 using /data/source as input and
/opt/aem/crx-quickstart/repository/segmentstore.After that, you can
delete /data/source on box2.