general

How can I fix the 'error: cannot run ssh: No such file or directory' when running tabby scheduler?

I added the git_url with SSH in my repository context configuration, but when I run tabby scheduler, I get the error error: cannot run ssh: No such file or directory. Is this related to SSH not being installed in the docker container or is there more to it?

Ch

Christian D. Peer

Asked on Dec 05, 2023

The error error: cannot run ssh: No such file or directory occurs when the SSH executable is not installed in the docker container. To fix this, you can either copy your SSH keys into the tabby docker container or bind the ~/.ssh directory. Another option is to install SSH in the container using apt if it is missing. Additionally, if you have rust installed, you can build and run tabby without docker. The PR https://github.com/TabbyML/tabby/pull/961 adds SSH to the container build.

Dec 07, 2023Edited by