- Moved jsch to version 0.2.12
- Moved jsch to version 0.2.11
- Moved jsch to supported fork from com.github.mwiede/jsch version 0.2.9
-
Moved jsch to version 0.1.55
-
Moved clojure tools.logging to 1.2.4
-
Moved logback-classic to 1.4.7
-
Changed ssh/generate-keypair to now match jsch API (and remove setPassphrase method which is listed as depricated)
-
Included section in readme.md regarding RSA header issues and compatibilities
- Remove println from scp code
-
Make clojure dependency have provided scope Closes #25
-
Fix race condition in ssh-exec function when command finishes before we enter with-channel-connection
-
ssh/download: fix :recursive and :preserve flags arity errors. Recursive still doesn't work correctly: clj-ssh writes every file into the same output.
-
Fixed recursive scp invocation.
-
fix trace/tracef mixup.
-
Fix missing parens
-
Update jsch and jsch agentproxy jsch 0.1.53 agentproxy-version 0.0.9
-
Remove extra arg to throw This makes clj-ssh compatible with Clojure 1.8, which does not allow the extra argument to throw.
-
Lock known hosts file Try and prevent concurrent read and writes to the known hosts file.
-
Fix :out :stream in the cli namespace Caller becomes responsible for closing the session.
Closes #29
-
Fix session? predicate
-
Factor out ssh-exec-proc and ssh-shell-proc These provide a lower level interface with more flexible stream handling.
-
Add java.awt.headless to default java opts
- Publish new jars The 0.5.8 jars were not correctly published and are identical to 0.5.7.
-
Enable introspection of sessions Adds the session? predicate for testing for a Session object, an the session-hostname and session-port functions for querying a session.
-
Enable copying identities between agents The copy-identities can be used to copy identities from one agent to another. This is useful to allow copying identities from a system agent to a non system agent.
-
Add support for jump hosts The jump-session function is used to obtain a session that can be connected across jump hosts.
The
the-session
function is added to obtain a jsch session from a connected jump-session, or a connected jsch Session, and can be used in code that wants to support jump sessions. -
Add fingerprint function on keypairs
-
Allow keypair construction from just a public key
-
Update tools.logging to 0.2.6
-
Update to jsch 0.1.51 Adds support for private keys in PKCS#8 format.
Fixes several session crash issues.
-
Update to jsch.agentproxy 0.0.7
- Update to jsch.agentproxy 0.0.6
-
Allow generate-keypair to write key files
-
Factor out keypair generation Simplifies add-identity by factoring out the keypair creation.
-
Update to jsch 0.1.50
- Wrap open-channel exceptions When .openChannel throws an exception, wrap it in an ex-info exception. This allows easier procession of the exceptions in consuming code.
-
Ensure literal keys get a non-blank comment When adding a literal key, use "Added by clj-ssh" as the comment.
-
Ensure literal key strings are handled correctly
-
Add ssh/exit-status for querying exit code
-
Add type hints to session functions
- Update to official jsch.agentproxy relase jars
- Fix adding key string identities for ssh-agent Adding string based ssh keys to an ssh-agent was broken.
- Require clojure 1.4.0 Drops usage of slingshot.
-
Make ssh key test more robust The add-identity-test ssh-agent case was failing for no apparent reason.
-
Remove some reflection warnings
- Use passphrase when adding key to agent, and honour the key name
- Update to jsch 0.1.49 and enable adding keys to ssh-agent. Support for adding passphrase-less keys only.
-
add option to ssh-agent for :known-hosts-path. Fixes #16.
-
remap log levels to be less verbose by default. Fixes #17
-
Split out clj-ssh.cli
clj-ssh.ssh is designed for composability and programmatic use. It takes map arguments for options and is fully functional.
clj-ssh.cli is intended to simplify repl usage. It takes variadic arguments for options and uses dynamic vars to provide defaults.
-
Add a :agent-forwarding option A boolean value is passed with :agent-forwarding to clj-ssh.ssh/ssh.
-
Add support for system ssh-agent Support the system ssh-agent (or pageant on windows when using putty) via jsch-agent-proxy. Introduces a new agent function, clj-ssh.ssh/ssh-agent.
-
Add remote port forwarding support
-
Fix documentation for with-local-port-forward
-
Allow specification of session options as strings This should allow options like: (default-session-options {"GSSAPIAuthentication" "no"})
-
Allow clj-ssh to work with a wide range of slingshot versions Tested with slingshot 0.2.0 and 0.10.1
-
Added SSH tunneling.
- Changes
-
Remove use of monolithic contrib In preparation for clojure 1.3. Use slingshot instead of contrib.condition. Use local copy of contrib.reflect.
-
Switch to tools.logging
-
Allow specification of PipedInputStream buffer size The buffer size (in bytes) for the piped stream used to implement the :stream option for :out. If the ssh commands generate a high volume of output, then this buffer size can become a bottleneck. The buffer size can be specified by binding piped-stream-buffer-size, and defaults to 10Kb.
-
Add scp-from and scp-to, for copy files over ssh-exec Add support for scp using ssh-exec. copies files from a remote machine. copies to a remote machine.
-
Drop clojure 1.1.0 support