Boot tasks use clj-ssh to provide some common ssh tasks like scp
sftp
ssh
.
Run the scp-to
task:
$ boot scp-to
To use this in your project, add [boot-ssh "0.1.0-SNAPSHOT"]
to your :dependencies
and then require the task:
(require '[boot-ssh :refer [scp-to]])
and then setup
(task-options!
scp-to {:ip "12.12.12.12"
:sess-opts {:username "user"
:password "password"
:strict-host-key-checking :no}
:sources ["target/"]
:destination "/somewhere/on/remote/server/"})
Copyright © 2016 Algotizer
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close