File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,11 @@ Strict host key checking can be turned off.
18
18
19
19
(default-session-options {:strict-host-key-checking :no})
20
20
21
+ By default, your current username and id_rsa key are used. If your key has a
22
+ passphrase, and you are on OSX, then you should be asked for access to your
23
+ keychain. If you are on any other OS, you will need to explicitly add your key
24
+ to the clj-ssh's ssh-agent with the appropriate add-identity call.
25
+
21
26
More advance usage is possible.
22
27
23
28
(with-ssh-agent []
49
54
50
55
## FAQ
51
56
57
+ Q: Why doesn't clj-ssh integrate with the OS's ssh agent?
58
+
59
+ A: Java has no access to the Unix domain socket used by the system ssh-agent.
60
+
52
61
Q: What does "4: Failure @ com.jcraft.jsch.ChannelSftp.throwStatusError(ChannelSftp.java:2289)" during an sftp transfer signify?
53
62
54
63
A: Probably a disk full, or permission error.
You can’t perform that action at this time.
0 commit comments