Skip to content

Commit fa1c4a5

Browse files
committed
Fix add-identity call in readme
1 parent 59b23f9 commit fa1c4a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ system, then a local, isolated ssh-agent can be used.
8686

8787
```clj
8888
(let [agent (ssh-agent {:use-system-ssh-agent false})]
89-
(add-identity agent "/user/name/.ssh/id_rsa")
89+
(add-identity agent {:private-key-path "/user/name/.ssh/id_rsa"})
9090
(let [session (session agent "localhost" {:strict-host-key-checking :no})]
9191
(with-connection session
9292
(let [result (ssh session {:in "echo hello"})]

0 commit comments

Comments
 (0)