CVSROOT: /cvs Module name: src Changes by: [email protected] 2021/08/11 08:05:20
Modified files:
usr.bin/ssh : scp.c
Log message:
scp: do not spawn ssh with two -s flags for remote-to-remote copies
Do not add another "-s" to the argument vector every time an SFTP
connection is initiated. Instead, introduce a subsystem flag to
do_cmd() and add "-s" when the flag is set.
ok djm@
