We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b6aaf0 commit 5980157Copy full SHA for 5980157
src/clj_ssh/ssh.clj
@@ -233,7 +233,7 @@
233
(add-identity agent options)))))
234
235
;;; Sessions
236
-(defn- session-impl
+(defn- ^Session session-impl
237
[^JSch agent hostname username port ^String password options]
238
(let [session (.getSession agent username hostname port)]
239
(when password
@@ -247,7 +247,7 @@
247
(as-string v)))
248
session))
249
250
-(defn session
+(defn ^Session session
251
"Start a SSH session.
252
Requires hostname. you can also pass values for :username, :password and :port
253
keys. All other option key pairs will be passed as SSH config options."
0 commit comments