Namespaces

 
0.2.0-SNAPSHOT permalink Arrow_down_16x16

has-identity?

clj-ssh.ssh

  • (has-identity? name)
  • (has-identity? agent name)
Check if the given identity is present.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clj_ssh/ssh.clj:127 top

(defn has-identity?
  "Check if the given identity is present."
  ([name] (has-identity? *ssh-agent* name))
  ([#^JSch agent name] (some #(= name %) (.getIdentityNames agent))))
Vars in clj-ssh.ssh/has-identity?: = agent defn name some
Used in 0 other vars

Comments top

No comments for has-identity?. Log in to add a comment.