       (.setConfig session "StrictHostChecking" "yes"))
     (createDefaultJSch [fs]
       (let [jsch (JSch.)]
-        (.addIdentity jsch "/home/mdaley/workspace/tyranitar/shared/tyranitar_rsa")
-        (.setKnownHosts jsch "/home/mdaley/workspace/tyranitar/shared/known_hosts")
+        (.addIdentity jsch "tyranitar" (.getBytes tyranitar-private-key) nil nil)
+        (.setKnownHosts jsch (ByteArrayInputStream. (.getBytes known-hosts)))
         jsch))))
 
 (SshSessionFactory/setInstance my-jcs-factory)


;; (JSch/setLogger (SshLogger. com.jcraft.jsch.Logger/DEBUG))


(def base-git-url (env :service-base-git-repository-url))
(def base-git-path (env :service-base-git-repository-path))

(ns tyranitar.git
  (:require [environ.core :refer [env]]
            [clojure.java.io :refer [as-file make-reader]]
            [clojure.tools.logging :as logging]
            [clj-time.coerce :refer [from-long]]
            [clj-time.format :refer [unparse formatters]]
