SFTP bootstraps itself by using the subsystem request, and there's the "-s" option in the client to send in different subsystem name. So we should be able to support something like -s "sftp diagnose JOBNAME" to let the server understand the right context.

SCP doesn't use this mechanism, and the only hook is the "-S program" option to specify the path to ssh. Unfortunately, scp invokes ssh with something like "-x -o... -o... -o... – host scp -t ..." and so there's no one liner to convert this to "... – host diagnose JOBNAME scp"

In both cases, these cannot be described in ~/.ssh/config, which makes this painful.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to