Is there any way to change the port for the deploy task? Right now I am just wildly copying from biff/tasks.clj Which will probably work eventually but this seems like I am just missing a variable somewhere
i.e. because you have the ssh server running on a port other than 22? I haven't even tested that myself. I would think/hope that the ssh/rsync commands that tasks.clj runs would respect your ssh config. I wonder if the with-ssh-agent thing could be screwing that up somehow. You could test that by running clj -M:dev restart since that'll run an ssh command without calling with-ssh-agent first.
In any case, if you aren't able to get it to respect your ssh config, then yeah wildly copying from biff/tasks.clj is unfortunately the way to go 🙂
Ok, I fixed it. I ended up indeed copying the full tasks.clj and just making ssh-port configurable from config.edn. Care for a PR?
Sure--maybe have a couple options like :biff.tasks/ssh-opts and :biff.tasks/rsync-opts so they can be used for other stuff too if the need arises?
I will just open a PR, that'll make it easier to understand what you have in mind - chat is bad for thst^^
(the task doesn't seem to care about my ssh config)