You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the same error with the above code:
Execution error (ClassCastException) at clj-ssh.ssh/session-impl (ssh.clj:318).
class com.jcraft.jsch.Session cannot be cast to class java.lang.String (com.jcraft.jsch.Session is in unnamed module of loader 'app'; java.lang.String is in module java.base of loader 'bootstrap')
I try to run command on remote machine, I success to connect through my MAC over ssh without password (use
known_host
)so I run through
REPL
:and get error:
ClassCastException com.jcraft.jsch.Session cannot be cast to java.lang.String clj-ssh.ssh/session-impl (ssh.clj:318)
I use
[clj-ssh "0.5.14"]
Any ideas?
The text was updated successfully, but these errors were encountered: