Added support for StrictHostKeyChecking property in SSH config
commit7b778e80c3fbf8ab360706b0b7eff15cc6c0c0b6
authorConstantine Plotnikov <constantine.plotnikov@gmail.com>
Fri, 10 Apr 2009 16:27:31 +0000 (10 20:27 +0400)
committerShawn O. Pearce <spearce@spearce.org>
Fri, 10 Apr 2009 16:31:49 +0000 (10 09:31 -0700)
treee4edd606cf267b0ba7573918b6f9ae0267916092
parent9fcc12fb966f0065a9360740026ba54042fd6a12
Added support for StrictHostKeyChecking property in SSH config

StrictHostKeyChecking property allows to specify ssh behavior when
the ssh client encounters a new host or a change of the host key.
Thus in addition to the default policy "ask", it is now possible
to specify "yes" and "no" policies that automatically reject and
accept new host keys.

Signed-off-by: Constantine Plotnikov <constantine.plotnikov@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.spearce.jgit/src/org/spearce/jgit/transport/DefaultSshSessionFactory.java
org.spearce.jgit/src/org/spearce/jgit/transport/OpenSshConfig.java