【原创】解决git push报错:error: unable to read askpass response from '/usr/libexec/openssh/gnome-ssh-askpass'

blogdaren 2018-09-07 抢沙发 285人次

问题背景:

执行 git push -u origin master,一直都好好的,很意外遇到报错:

error: unable to read askpass response from '/usr/libexec/openssh/gnome-ssh-askpass'

问题原因:

经google,发现是执行了如下脚本:

# cat /etc/profile.d/gnome-ssh-askpass.sh
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass

解决方案:

unset SSH_ASKPASS

版权声明:除非注明,本文由( blogdaren )原创,转载请保留文章出处。

本文链接:【原创】解决git push报错:error: unable to read askpass response from '/usr/libexec/openssh/gnome-ssh-askpass'

发表评论:

您的昵称:
电子邮件:
个人主页: