int128/gradle-ssh-plugin — pull request #66 by int128 (2014-03-01 13:25:49+00:00)
Title: Fix issue #64 private key is removed from Putty Agent

This pull request fixes bug that private key is removed from Putty Agent if multiple sessions are given.

Cause:
`jsch.removeAllIdentity()` removes keys from the remote repository.

Fix:
Use the remote repository only if agent is required. Explicitly use the default repository otherwise.