biff

2026-01-06T20:49:38.009519Z

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

2026-01-07T02:37:59.437069Z

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 🙂

😅 1
2026-01-11T14:33:46.272649Z

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?

2026-01-11T14:38:24.921329Z

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?

2026-01-11T14:39:33.462729Z

I will just open a PR, that'll make it easier to understand what you have in mind - chat is bad for thst^^

👍 1
2026-01-06T20:51:19.848349Z

(the task doesn't seem to care about my ssh config)