aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/theb/ssh/InteractiveHostKeyVerifier.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/theb/ssh/InteractiveHostKeyVerifier.java')
-rw-r--r--src/org/theb/ssh/InteractiveHostKeyVerifier.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/org/theb/ssh/InteractiveHostKeyVerifier.java b/src/org/theb/ssh/InteractiveHostKeyVerifier.java
new file mode 100644
index 0000000..a461724
--- /dev/null
+++ b/src/org/theb/ssh/InteractiveHostKeyVerifier.java
@@ -0,0 +1,14 @@
+package org.theb.ssh;
+
+import com.trilead.ssh2.ServerHostKeyVerifier;
+
+public class InteractiveHostKeyVerifier implements ServerHostKeyVerifier {
+
+ public boolean verifyServerHostKey(String hostname, int port,
+ String serverHostKeyAlgorithm, byte[] serverHostKey)
+ throws Exception {
+ // TODO Auto-generated method stub
+ return true;
+ }
+
+}