今天在git push origin master 时,竟然出现了错误 unable to read askpass response from '/usr/libexec/openssh/gnome-ssh-askpass
搜索出来下面一段话。让SSH_ASKPASS关闭掉即可。
However, for some wierd reason, upon trying to pull/push commits from/to the Git repository, the bash shell tries to open the gnome-ssh-askpass dialogue and it fails. I wanted to prevent the bash shell from attempting to launch the dialogue box. To do this, all I had to do is run the following command in the terminal:
$ unset SSH_ASKPASS
To prevent it in future, you can add the above line in your .bashrc or .bash_profile.
Wish you trouble-free working!
分享到:
相关推荐
标题中的"x11-ssh-askpass-1.2.4.1.tar.gz"是一个开源软件包,主要用于在没有图形界面的远程服务器上提供SSH密码输入功能。这个软件包是X11 SSH Askpass的1.2.4.1版本,它是一个用于SSH连接的安全凭证助手,特别适用...
这个是编译完成的,RHEL平台测试能用,如果不能用,可以试我发的另一个源码版本,是openssl6.7.
openssh-9.3p1-1.el7.src.rpm ...openssh-askpass-gnome-9.3p1-1.el7.x86_64.rpm openssh-clients-9.3p1-1.el7.x86_64.rpm openssh-debuginfo-9.3p1-1.el7.x86_64.rpm openssh-server-9.3p1-1.el7.x86_64.rpm
openssh-9.0p1-1.el7.src.rpm ...openssh-askpass-gnome-9.0p1-1.el7.x86_64.rpm openssh-clients-9.0p1-1.el7.x86_64.rpm openssh-debuginfo-9.0p1-1.el7.x86_64.rpm openssh-server-9.0p1-1.el7.x86_64.rpm
openssh-askpass-gnome-9.4p1-1.el7.x86_64.rpm openssh-clients-9.4p1-1.el7.x86_64.rpm openssh-debuginfo-9.4p1-1.el7.x86_64.rpm openssh-server-9.4p1-1.el7.x86_64.rpm [root@localhost ~]# ssh -V OpenSSH_...
$ cp ssh-askpass /usr/local/bin/ $ cp ssh-askpass.plist ~/Library/LaunchAgents/ 注销并登录,然后才能使用ssh-add -c向代理添加密钥 启用键盘导航 出于安全原因,ssh-askpass默认为取消,因为按下空格键和接受...
适用于centos 7 redhat 7 x86架构的二进制openssh rpm包,版本9.7p1 2024年3月11日官方发布9.7版本,内含ssh-copy-id命令,安装后显示openssl版本,此包基于openssl 1.1.1w制作,因此安装后会显示1.1.1w版本的...
openssh-8.6p1-1.el8.src.rpm openssh-8.6p1-1.el8.x86_64.rpm ...openssh-askpass-gnome-8.6p1-1.el8.x86_64.rpm openssh-clients-8.6p1-1.el8.x86_64.rpm openssh-server-8.6p1-1.el8.x86_64.rpm
官方离线安装包,测试可用。请使用rpm -ivh [rpm完整包名] 进行安装
rm -rf openssh-askpass* rm -rf openssh-debug* rpm -Uvh *.rpm cp /etc/ssh/sshd_config /etc/ssh/sshd_config.rpmsave rm -rf /etc/ssh/sshd_config mv /etc/ssh/sshd_config.rpmnew /etc/ssh/sshd_config vim /...
rpm -e openssh openssh-server openssh-clients openssh-askpass --nodeps 安装新版本 rpm -ivh openssh*.rpm 完成安装后: cat /etc/pam.d/sshdbak > /etc/pam.d/sshd 修改/etc/ssh/sshd_config,允许root登录,...
openssh-askpass-gnome-7.3p1-1 openssh-7.3p1-1 openssh-debuginfo-7.3p1-1 openssh-askpass-7.3p1-1 openssh-server-7.3p1-1 openssh-clients-7.3p1-1 # sshd -V unknown option -- V OpenSSH_7.3p1, OpenSSL ...
openssh-askpass-gnome-8.5p1-1.el8.x86_64.rpm openssh-askpass-gnome-debuginfo-8.5p1-1.el8.x86_64.rpm openssh-clients-8.5p1-1.el8.x86_64.rpm openssh-clients-debuginfo-8.5p1-1.el8.x86_64.rpm openssh-...
离线安装包,亲测可用
Anolis龙蜥8.6版本 针对openssh漏洞 cve-2020-15778 cve-2023-38480 自制rpm包离线升级openssh由8.0p1到9.3p2 4个安装包之2
openssh8.5几个rpm包,适用于rhel6 64位,要求openssl至少是1.0.1e以上
openssh8.5几个rpm包,适用于rhel6 64位,要求openssl至少是1.0.1e以上
openssh-askpass-gnome-8.8p1-1.el8.x86_64.rpm openssh-debugsource-8.8p1-1.el8.x86_64.rpm openssh-debuginfo-8.8p1-1.el8.x86_64.rpm openssh-clients-debuginfo-8.8p1-1.el8.x86_64.rpm openssh-server-debug...
openssh-askpass-gnome-8.4p1-1.el8.x86_64.rpm openssh-askpass-gnome-debuginfo-8.4p1-1.el8.x86_64.rpm openssh-clients-8.4p1-1.el8.x86_64.rpm openssh-clients-debuginfo-8.4p1-1.el8.x86_64.rpm openssh-...
6. `openssh-askpass-gnome-9.3p2-1.el7.x86_64.rpm`:专为GNOME桌面环境设计的密码输入助手,与上一个组件类似,但更适合GNOME用户的使用体验。 在升级OpenSSH之前,务必备份当前的配置文件,以防新版本的配置变化...