Skip to content

Pure SSH-based protocol #1044

@gully

Description

@gully

I would like to push git lfs changes via SSH, but this doesn't seem to work "out of the box". Specifically, I have two remotes: one with https (origin, i.e. GitHub) and one with ssh (alternate, i.e. a local computer not generally accessible to the web, only ssh). When I set up git-lfs, the https remote is fine, but I can no longer push to the ssh branch:

$ git push alternate master Git LFS: (0 of 2 files) 0 B / 450.17 KB exit status 127 error: failed to push some refs to "foo@000.000.000.000:home/blah.git"
$ git lfs push alternate master Git LFS: (0 of 2 files) 0 B / 450.17 KB exit status 127

I suspect this Issue is related to Issues #295, and its Pull Request #350, and maybe #798

Will it be possible to have git-lfs work with existing ssh remotes "out of the box", like https? Is the currently supported solution to run git-lfs-ssh-serve on the remote? I have not been able to experiment with the git-lfs-ssh-serve yet. Forgive me if this is a naive or duplicate question, or unique to my setup. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions