Closed cpmoore closed 1 month ago
Thanks for the information. We have confirmed this and applied the change to the 3.1.2-SNAPSHOT, which should be published to maven shortly and committed to the develop_3.1.x branch.
Any idea when 3.1.2 will be released? Either I'm too dumb to properly add the sonatype snapshot repo to my gradle config, or my company disabled snapshots somehow
Edit: never mind, our maven repo mirror is just slow. Should sync your snapshots eventually
Hi guys, this issue is for any usage of putFile call ? I follow this example https://jadaptive.com/java-ssh-library/ssh-client-quick-start/ but I got java.lang.IllegalArgumentException: No connection or client supplied.
on ssh.putFile
request
3.1.2 uploaded to github releases, it is also in Maven Central. Closing.
Hi ya, The ssh client command throws an IllegalArgumentException due to the following line
https://github.com/sshtools/maverick-synergy/blob/d6afd03d11d338f42cc3054803a9e61fd558e3c8/maverick-synergy-client/src/main/java/com/sshtools/client/tasks/AbstractConnectionTask.java#L84
The orElse is evaluated before returning the connection, which in turn gets evaluated to the orElseThrow since clientSupplier is empty It needs to be converted to an orElseGet like