-
Bug
-
Resolution: Unresolved
-
Major
-
None
Because this plugin requires several argument ("diagnose JOBNAME") before accepting users commands, we need some more gimic to make it work with SCP and SFTP.
Because this plugin requires several argument ("diagnose JOBNAME") before accepting users commands, we need some more gimic to make it work with SCP and SFTP.
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.