Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
110 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
language: clojure | ||
lein: lein2 | ||
before_script: | ||
- ssh-keygen -N "" -f ~/.ssh/id_rsa | ||
- cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys | ||
- ssh-keygen -f ~/.ssh/clj_ssh -t rsa -C "key for test clj-ssh" -N "" | ||
- ssh-keygen -f ~/.ssh/clj_ssh_pp -t rsa -C "key for test clj-ssh" -N "clj-ssh" | ||
- echo "from=\"127.0.0.1,localhost,0.0.0.0\" $(cat ~/.ssh/clj_ssh.pub)" >> ~/.ssh/authorized_keys | ||
- echo "from=\"127.0.0.1,localhost,0.0.0.0\" $(cat ~/.ssh/clj_ssh_pp.pub)" >> ~/.ssh/authorized_keys | ||
- eval $(ssh-agent) | ||
- echo "clj-ssh" > pp | ||
- chmod +x pp | ||
- setsid ssh-add ~/.ssh/clj_ssh_pp < pp # add the key to the keychain | ||
|
||
script: lein2 test | ||
# notifications: | ||
# irc: "irc.freenode.org#pallet" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
(defproject clj-ssh "0.5.6" | ||
(defproject clj-ssh "0.5.7" | ||
:description "Library for using SSH from clojure." | ||
:url "https://github.com/hugoduncan/clj-ssh" | ||
:license {:name "Eclipse Public License" | ||
:url "http://www.eclipse.org/legal/epl-v10.html"} | ||
:dependencies [[org.clojure/clojure "1.4.0"] | ||
[org.clojure/tools.logging "0.1.2" | ||
:exclusions [org.clojure/clojure]] | ||
[com.jcraft/jsch.agentproxy.usocket-jna "0.0.5"] | ||
[com.jcraft/jsch.agentproxy.usocket-nc "0.0.5"] | ||
[com.jcraft/jsch.agentproxy.sshagent "0.0.5"] | ||
[com.jcraft/jsch.agentproxy.pageant "0.0.5"] | ||
[com.jcraft/jsch.agentproxy.core "0.0.5"] | ||
[com.jcraft/jsch.agentproxy.jsch "0.0.5"] | ||
[com.jcraft/jsch.agentproxy.usocket-jna "0.0.6"] | ||
[com.jcraft/jsch.agentproxy.usocket-nc "0.0.6"] | ||
[com.jcraft/jsch.agentproxy.sshagent "0.0.6"] | ||
[com.jcraft/jsch.agentproxy.pageant "0.0.6"] | ||
[com.jcraft/jsch.agentproxy.core "0.0.6"] | ||
[com.jcraft/jsch.agentproxy.jsch "0.0.6"] | ||
[com.jcraft/jsch "0.1.50"]]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters