clj-commons/clj-ssh

Configure IdentityFile

devth opened this issue · 1 comments

I need to use an IdentityFile to ssh to my ec2 instance. Does clj-ssh support this?

I was able to connect using add-identity (only with non-CLI code), but for some reason I had to specify :use-system-ssh-agent fase in order to avoid JSchException Auth fail com.jcraft.jsch.Session.connect (Session.java:484).