CVSROOT: /cvs Module name: src Changes by: dtuc...@cvs.openbsd.org 2025/03/28 00:04:07
Modified files: usr.bin/ssh : scp.c sftp.c Log message: Pass "ControlMaster no" to ssh when invoked by scp & sftp. If you have ControlMaster auto (or yes) in your config, and the first connection you make is via scp or sftp, then you may get a few unexpected options applied to it (eg ForwardX11 no), since sftp and sftp explicitly disable those for reasons. These effects will persist beyond the initial scp or sftp command. This explicitly disables persistent session *creation* by scp and sftp. It will not prevent them from using an existing session if one has already been created. >From Github PR#557, ok djm@ kn@