« Previous | Next » 

Revision 00003458

ID00003458e2096287409ba98df66b6385d9d2caa7

Added by Guido Trotter over 13 years ago

Make import/export use the auxiliary ssh library to build the remote commands.

This avoids forgetting some parameters, as it's happening right now
(the correct known host file is not being passed)

In order to do so we split SSHCall into an auxiliary BuildSSHCmd which builds
the command but doesn't actually call it, and SSHCall itself which runs RunCmd
on top of BuildSSHCmd's result. BuildSSHCmd is then explicitely called by
import/export who has to build a more complex command to be run later.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences