copy: Use userauth-public-key/auto! for ssh authentification.
commitdb6afe387ae74943a0c66c7488be49bd509b51c4
authorMathieu Othacehe <m.othacehe@gmail.com>
Wed, 25 Jan 2017 21:34:33 +0000 (25 22:34 +0100)
committerLudovic Courtès <ludo@gnu.org>
Thu, 26 Jan 2017 10:26:24 +0000 (26 11:26 +0100)
tree22db9336279ca0f26882eda50886d5937195fcaa
parentec8fdd3bf8e9bc66504aebecbbd19abcc05cfb7c
copy: Use userauth-public-key/auto! for ssh authentification.

* guix/scripts/copy.scm (open-ssh-session): Replace userauth-agent! by
  userauth-public-key/auto!. This way, if ssh-agent is not run,
  default ssh key (~/.ssh/id_rsa) will be used as a fallback.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
guix/scripts/copy.scm