Branch: refs/heads/master
Home: https://github.com/NixOS/nixops
Commit: 1527452dca8cecfc9c6feeed1a5ca52d5da9a96c
https://github.com/NixOS/nixops/commit/1527452dca8cecfc9c6feeed1a5ca52d5da9a96c
Author: aszlig <[email protected]>
Date: 2015-11-16 (Mon, 16 Nov 2015)
Changed paths:
M scripts/nixops
Log Message:
-----------
scripts/nixops: Properly encode command in op_ssh.
Regression introduced by ffbbe130071b34939da9093882cfcdbe70aac3d8.
Using "ssh some_machine 'echo foo > /dev/null'" works, but in our case
using "nixops ssh some_machine 'echo foo > /dev/null'" bails out with an
error.
The reason for this is that without allow_ssh_args being set, the
command will end up getting escaped and passed as a single joined
argument to OpenSSH.
However, we don't need to do this and using allow_ssh_args will prevent
that, especially because we already have splitted off SSH arguments
using split_openssh_args().
Signed-off-by: aszlig <[email protected]>
Reported-by: Eelco Dolstra <[email protected]>
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits