Bug 2976

Summary: Avoid automatically adding RemoteCommand option
Product: Portable OpenSSH Reporter: Ittay <ittay.dror>
Component: sshAssignee: Assigned to nobody <unassigned-bugs>
Status: NEW ---    
Severity: enhancement    
Priority: P5    
Version: 7.9p1   
Hardware: Other   
OS: Windows 10   

Description Ittay 2019-03-05 19:49:39 AEDT
My company's security requires me to use scp with the -S switch that is then used to login to one system and from it ssh to another. I have openssh 7.9, so when I use that switch, it adds RemoteCommand=none to its options. However, the remote system has an older ssh that doesn't understand this option and fails with an error.