Post B2Jspin5Y8eZpDV2BM by ruari@velocipederider.com
 (DIR) More posts by ruari@velocipederider.com
 (DIR) Post #B2JjX5frLXFhhu9wvo by ruari@velocipederider.com
       2026-01-15T18:17:39Z
       
       0 likes, 2 repeats
       
       When copying a directory recursively to another machine which runs ssh, do you…
       
 (DIR) Post #B2Jra7zTzOxJOTIV4C by lanodan@queer.hacktivis.me
       2026-01-15T19:57:05.005350Z
       
       0 likes, 0 repeats
       
       @ruari Depends on the target (like ancient unix or minimalist box), and well scp(1) does recursive these days too.
       
 (DIR) Post #B2JsTT4lISooiP9f8a by ruari@velocipederider.com
       2026-01-15T20:05:48Z
       
       0 likes, 0 repeats
       
       @lanodan Are we still using scp. I recall a few years back people saying to disable it and just use sftp though I don't really recall why. Perhaps only relevant if SSH is not configured for login. 🤷
       
 (DIR) Post #B2JsTU31gP1ZjJLn4S by lanodan@queer.hacktivis.me
       2026-01-15T20:07:05.748693Z
       
       0 likes, 0 repeats
       
       @ruari scp(1) switched to sftp (protocol) some years ago.Although sftp(1) is pretty cool too if you need some interactivity, like for pulling remote files in.
       
 (DIR) Post #B2Jspin5Y8eZpDV2BM by ruari@velocipederider.com
       2026-01-15T20:10:49Z
       
       1 likes, 0 repeats
       
       @lanodan Nice, thanks and did not know it did recursion.I'm a try pipe guy and sometimes cpio for the lulz (I know its limitations for modern systems). What I like is that I can filter lists of what is copied with find, which is super powerful. Also I get to pick the comptessor, e.g. zstd or lz4, which is not an option for rsync AFAIK. But then again I basically never use rsync so much of its capabilities are probably just unknown to me.