Hi,
something doesn't feel right here, as manpage suggests path to be optional? and that first try with ~/ does report success after failing? didn't know any use-case for /~/ before trying this :) $ scp xyz scp://10.0.1.6:10107~/ && echo $? || echo $? 0 $ ssh ssh://10.0.1.6:10107 ls -lh xyz ls: xyz: No such file or directory $ scp xyz scp://10.0.1.6:10107 && echo $? || echo $? Segmentation fault (core dumped) 139 $ ssh ssh://10.0.1.6:10107 ls -lh xyz ls: xyz: No such file or directory $ scp xyz scp://10.0.1.6:10107/~/ && echo $? || echo $? xyz 100% 1024 309.7KB/s 00:00 0 aalm@tfort:~ $ ssh ssh://10.0.1.6:10107 ls -lh xyz -rw-r--r-- 1 aalm aalm 1.0K Dec 17 17:58 xyz -Artturi
