Branch: refs/heads/master
Home: https://github.com/NixOS/nixops
Commit: da1a81a82936cdc63749b2950674daadf7a1d278
https://github.com/NixOS/nixops/commit/da1a81a82936cdc63749b2950674daadf7a1d278
Author: aszlig <[email protected]>
Date: 2015-10-30 (Fri, 30 Oct 2015)
Changed paths:
M scripts/nixops
Log Message:
-----------
scripts/nixops: Use m.ssh.run_command in op_ssh().
We already had that before e57686c2d52813ac8afaaed57a4d951339825ca4.
The reason this has been changed was to be able to supply a user name,
which I had accidentally dropped much earlier in 9cca2d8.
So the actual problem here is that we can't ssh into a machine using
passwords and _not_ have a SSH master. This is because the SSH_ASKPASS
helper is only called when there is no TTY available, which is kind of a
contradiction to what the "nixops ssh" command should actually do.
Of course, we could even manage to do it without a master socket, but
that would involve creating a PTY and pipe everything to SSH forth and
back (and we also would need a bit of signal handling). Which pretty
much boils down to increasing the surface for bugs.
Instead of just reverting back to the old version, we actually now pass
the username along using OpenSSH's -l flag.
Signed-off-by: aszlig <[email protected]>
Commit: a5ab23db61fe13c59ff52226e84eb908655ff2a3
https://github.com/NixOS/nixops/commit/a5ab23db61fe13c59ff52226e84eb908655ff2a3
Author: aszlig <[email protected]>
Date: 2015-10-30 (Fri, 30 Oct 2015)
Changed paths:
M nixops/ssh_util.py
Log Message:
-----------
ssh_util: Revert adding invoke_shell().
This reverts commit 6781c0a6655c199d55a4a39d4dcaf4842147dbd4.
Bypassing the SSH master isn't going to work for reasons stated in
da1a81a82936cdc63749b2950674daadf7a1d278.
So we can safely drop this implementation to prevent anyone from even
attempting to rely on it.
Signed-off-by: aszlig <[email protected]>
Commit: 39bf5421eda92cbac62ea0acbe51a3e8fc31e2fb
https://github.com/NixOS/nixops/commit/39bf5421eda92cbac62ea0acbe51a3e8fc31e2fb
Author: aszlig <[email protected]>
Date: 2015-10-30 (Fri, 30 Oct 2015)
Changed paths:
M nixops/backends/hetzner.py
M nixops/ssh_util.py
Log Message:
-----------
ssh_util: Move host key ignore to Hetzner backend.
While the Hetzner backend is the only backend which needs to have
password authentication right now, ignoring the host key really should
be done in the backend implementation rather than unconditionally in
ssh_util once a password is set.
This should make the implementation more generic as we can still pass
additional options from backends without fiddling around with removing
options from that end.
Signed-off-by: aszlig <[email protected]>
Commit: d6631b6ea7335fcf500341d058f0240de7522e07
https://github.com/NixOS/nixops/commit/d6631b6ea7335fcf500341d058f0240de7522e07
Author: aszlig <[email protected]>
Date: 2015-10-30 (Fri, 30 Oct 2015)
Changed paths:
M tests/hetzner-backend/default.nix
M tests/none-backend.nix
Log Message:
-----------
tests: Drop <nixos> from NIX_PATH.
This is obsolete since a long time now and no longer used in the NixOps
code either, so let's remove it from the tests as well.
Signed-off-by: aszlig <[email protected]>
Compare: https://github.com/NixOS/nixops/compare/f2bf13726a24...d6631b6ea733_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits