How would you write a Clojure SSH client?
How would you write a Clojure program that lets you securely send data or commands back开发者_如何学JAVA and forth between your computer, and another computer on which you have a shell account? In Ruby, the program would be written using Net::SSH
. How would this be done in Clojure?
I've used this before - https://github.com/hugoduncan/clj-ssh
Easiest way to get the code is to use Leinengen or Cake. Add [clj-ssh "0.2.0"] to your dependencies, and you should be good to go.
精彩评论