4 ms·
Most people use scp and not sftp because they prefer the cp-like semantics of the command line tool. I have no idea why OpenSSH's scp does not use SFTP by defau
by anilakar 6y ago
Most people use scp and not sftp because they prefer the cp-like semantics of the command line tool. I have no idea why OpenSSH's scp does not use SFTP by default and allow an explicit fallback to scp for those systems that don't have the SFTP subsystem enabled.
- fanf2 6y agoPuTTY’s pscp program works in the sensible way you suggest https://the.earth.li/~sgtatham/putty/0.74/htmldoc/Chapter5.html#i29 https://the.earth.li/~sgtatham/putty/0.74/htmldoc/Chapter5.h...
- chasil 6y agoAlso, putty is available in EPEL for the CentOS crowd. # cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.9 (Maipo) # pscp PuTTY Secure Copy client Release 0.73 ... -sftp force use of SFTP protocol -scp force use of SCP protocol It looks like it has a LOT less library dependencies than scp: $ ldd /bin/pscp linux-vdso.so.1 => (0x00007ffd79be1000) libdl.so.2 => /lib64/libdl.so.2 (0x00007f04c91bf000) libc.so.6 => /lib64/libc.so.6 (0x00007f04c8df1000) /lib64/ld-linux-x86-64.so.2 (0x00007f04c93c3000) $ ldd /bin/scp | wc -l 31