drupflare/drangler - v0.1.0
    Preparing search index...

    Function sshArgs

    • Builds the ssh argv for one remote command.

      BatchMode=yes is the load-bearing flag: without it ssh will sit on a password prompt forever inside a CLI that has already returned control, so a missing key hangs instead of failing. The remote command is the last argument and is never concatenated into a shell string here.

      Parameters

      Returns string[]