git https方式pull、push时,提示:error: unable to read askpass response from '/usr/libexec/openssh/gnome-ssh

来源:互联网 发布:java 接口文档 编辑:程序博客网 时间:2024/06/06 20:17

git https方式pull、push时,
老是提示:
(gnome-ssh-askpass:12666): Gtk-WARNING **: cannot open display:
error: unable to read askpass response from ‘/usr/libexec/openssh/gnome-ssh

解决办法:
关闭SSH_ASKPASS

# unset SSH_ASKPASS
0 0
原创粉丝点击