Merge pull request #91 from lsowen/master
Fix issue with servers that have GSSAPI authentication enabled.
This commit is contained in:
commit
a118a196be
1 changed files with 2 additions and 1 deletions
|
@ -38,6 +38,7 @@ public class SshConfigSessionFactory extends GitConfigSessionFactory {
|
|||
@Override
|
||||
protected void configure(OpenSshConfig.Host hc, Session session) {
|
||||
session.setConfig("StrictHostKeyChecking", "no");
|
||||
session.setConfig("PreferredAuthentications", "publickey,password");
|
||||
|
||||
CredentialsProvider provider = new CredentialsProvider() {
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue