Add support for ~/.ssh/config BatchMode
commit6706c8601103c5a719dfd3a96f2f9087e5b358a1
authorShawn O. Pearce <spearce@spearce.org>
Tue, 16 Sep 2008 15:44:29 +0000 (16 08:44 -0700)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Tue, 16 Sep 2008 21:31:08 +0000 (16 23:31 +0200)
tree60d0e5ea5bab85dcba4f9a8245ca40724f94a9c4
parent7726f9b52722ad55f33b4f57c10a1ee57769b314
Add support for ~/.ssh/config BatchMode

Connections created through batch processes (e.g. those started by
cron) don't have a terminal to interact with a user through.  A
common way to disable password prompting with OpenSSH is to setup
a Host block in ~/.ssh/config with "BatchMode yes" enabled, thus
telling the client not to prompt for passphases or passwords.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.spearce.egit.ui/src/org/spearce/egit/ui/EclipseSshSessionFactory.java
org.spearce.jgit.test/tst/org/spearce/jgit/transport/OpenSshConfigTest.java
org.spearce.jgit/src/org/spearce/jgit/transport/DefaultSshSessionFactory.java
org.spearce.jgit/src/org/spearce/jgit/transport/OpenSshConfig.java