You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Using SSH shorthands as git remote should work the same as a full hostname #278
git-lfs behaves differently when you use an SSH shorthand vs. a full hostname as your git remote, even if they log in over SSH in the same way.
When I use an SSH shorthand I can't get git-lfs to upload binary files, whereas it works just fine when I use the full hostname definition. Looking at the gitolite log everything seems identical except the fact that git-lfs never runs git-lfs-authenticate when using a shorthand notation.
Hi, re-reading this issue, it looks like what we need to do is read and support $HOME/.ssh/config, as Git does. I moved discussion from #2255 to here, which is a similar issue.
@PastelMobileSuit do you have time to work on this? I think it'd be a good candidate for v2.6.0.
Activity
technoweenie commentedon May 4, 2015
Thanks for the bug report.
aorjoa commentedon Jun 21, 2015
I try to use SSH shorthand with commit b351a8b and I found it WORK! by following instuction
file
~/.ssh/configcontain thisthis my git repository setting
and when I push
Could you try? @quinox
aorjoa commentedon Sep 29, 2015
Anybody who can re-produce please ping me.
technoweenie commentedon Aug 11, 2016
Closing and moving to the roadmap
technoweenie commentedon Dec 1, 2016
Re-opening after adding this to a GH Project.
AdamBryantSkybox commentedon Sep 25, 2017
Still a problem, ran into it after needing to specify a set of host/hostname.
Edit: adding (git) to become: git@shorthand:giturl.git works.
ttaylorr commentedon Jul 27, 2018
Hi, re-reading this issue, it looks like what we need to do is read and support
$HOME/.ssh/config, as Git does. I moved discussion from #2255 to here, which is a similar issue.@PastelMobileSuit do you have time to work on this? I think it'd be a good candidate for v2.6.0.