openssh user@ vs -l precedence

Elan Ruusamae glen at
Mon Jul 16 10:10:07 CEST 2018

seems 7.7p1 introduced breaking change where if both user@ and -l provided

used to work:

GIT_SSH=wrapper ssh git at

where wrapper is:

exec ssh -x -a -oClearAllForwardings=yes -l $user ${1:+"$@"}

how it attempts to authenticate using glen@ not git@

$ git fetch upstream
glen at Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

$ git remote -v|grep ups
upstream        git at (fetch)
upstream        git at (push)

$ rpm -q openssh --blink

         <= openssh-7.6p1-3.x86_64.rpm

More information about the pld-devel-en mailing list