Skip to content

Commit

Permalink
Disabled strict host key checking.
Browse files Browse the repository at this point in the history
  • Loading branch information
Madoc committed Dec 10, 2018
1 parent b53908b commit e8d54f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/scala/net/jackadull/dirish/main/Main.scala
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package net.jackadull.dirish.main

import com.jcraft.jsch.JSch
import net.jackadull.dirish.cli._
import net.jackadull.dirish.op.combinator.{BlockingEitherCombinatorStyle, EitherV, FailWith}
import net.jackadull.dirish.op.git.BlockingGitStyle
Expand All @@ -19,6 +20,7 @@ import scala.language.{higherKinds, postfixOps}

object Main extends App {
LogSetup()
JSch.setConfig("StrictHostKeyChecking", "no")

def executableName:String = "dirish"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package net.jackadull.dirish.op.git

import java.io.{File, IOException}

import com.jcraft.jsch.JSch
import net.jackadull.dirish.op.GenericThrowableError
import net.jackadull.dirish.op.combinator.{BlockingEitherCombinatorStyle, CombinatorStyle, EitherV}
import net.jackadull.dirish.op.util.UsingCombinator
Expand Down

0 comments on commit e8d54f7

Please sign in to comment.