~thumper/juju-core/more-errgo

Viewing all changes in revision 2293.

[r=axwalk],[bug=1275657] utils/ssh: explicitly specify default identities

There is a bug in ssh_openssh.go: if any identities
are specified, then default identities are not
attempted unless they are loaded into the ssh-agent.
This is only a problem if the user relies on the
default identity, AND explicitly specifies
authorized-keys in their environment config.

This problem is fixed by explicitly specifying the
default identities if any identities are specified,
which is almost always (~/.juju/ssh).

Fixes lp:1275657

https://codereview.appspot.com/57690049/

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: