gnome-ssh-askpass:No such file or directory && unable to read askpass response

1、使用git的时候,gnome-ssh-askpass出现“error: cannot run /usr/libexec/openssh/gnome-ssh-askpass: No such file or directory”错误:

[email protected] 17:05:20 ~
=> git push origin master
error: cannot run /usr/libexec/openssh/gnome-ssh-askpass: No such file or directory
Username for ‘https://git.oschina.net‘: shenweiyan
error: cannot run /usr/libexec/openssh/gnome-ssh-askpass: No such file or directory
Password for ‘https://[email protected]‘:
Counting objects: 3, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (2/2), 230 bytes | 0 bytes/s, done.
Total 2 (delta 1), reused 0 (delta 0)
To https://git.oschina.net/shenweiyan/BirthDF.git
   89f911f..809863f  master -> master

解决: yum install openssh-askpass



2、安装完openssh-askpass,又出现“error: unable to read askpass response from ‘/usr/libexec/openssh/gnome-ssh-askpass‘”问题:

[email protected] 17:30:20 ~
=> git push origin master

(gnome-ssh-askpass:10884): Gtk-WARNING **: cannot open display:
error: unable to read askpass response from ‘/usr/libexec/openssh/gnome-ssh-askpass‘
Username for ‘https://git.oschina.net‘:

解决:echo ‘unset SSH_ASKPASS‘ >>~/.bashrc && source ~/.bashrc



gnome-ssh-askpass:No such file or directory && unable to read askpass response

时间: 2024-11-07 05:19:53

gnome-ssh-askpass:No such file or directory && unable to read askpass response的相关文章

ssh登录locale报错:cannot change locale (zh_CN.UTF-8): No such file or directory

一.登录ssh报错: Last login: Tue Apr 23 03:42:01 2019 from 172.28.146.109 -bash: warning: setlocale: LC_ALL: cannot change locale (en_CN.UTF-8): No such file or directory -bash: warning: setlocale: LC_ALL: cannot change locale (en_CN.UTF-8) -bash: warning:

终端SSH远程连接CentOS报错:-bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory

终端SSH远程连接CentOS时,报以下错误提示: -bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory 在centos服务器上 sudo vim /etc/locale.conf 内容如下: LC_ALL=en_US.utf8 LC_CTYPE=en_US.utf8 LANG=en_US.utf8 重新连接就正常了. 原文地址:https://www.cnblog

cnmp安装失败,报错npm ERR! enoent ENOENT: no such file or directory,

1.cnmp安装失败 2.提示如下: bogon:node_modules liangjingming$ sudo npm install cnpm -g --registry=https://registry.npm.taobao.org Password: /usr/local/lib └── (empty) npm ERR! Darwin 16.4.0 npm ERR! argv "/usr/local/Cellar/node/7.8.0/bin/node" "/usr

mac 连接mysql提示 Warning: mysqli::real_connect(): (HY000/2002): No such file or directory

mac 连接mysql的时候提示 Warning: mysqli::real_connect(): (HY000/2002): No such file or directory [说明1]MAC下MYSQL的安装路径:/usr/local/mysql-5.5.28-osx10.6-x86 数据库的数据文件在该目录的data文件夹中: 命令文件在bin文件夹中. [说明2]通过终端打开MYSQL命令行的方法:/usr/local/mysql-5.5.28-osx10.6-x86/bin/mysq

(ros/catkin) ××/××.h: No such file or directory

操作系统:ros(indigo)/ubuntu14.04编译工具:cmake(catkin_make) 出现错误:robot_control/src/robot_control.cpp:9:62: fatal error: robot_control/robot_control.h: No such file or directory #include<robot_control/robot_control.h> 出现此错误时,有三种可能情况: 1. 此.h文件是由自定义消息生成的,如robo

vue报错 Module not found: Error: Cannot resolve &#39;file&#39; or &#39;directory&#39;

炸了,我好写sell而组件,直接就用了,我的天哪 看你的写了吗,就用: Module not found: Error: Cannot resolve 'file' or 'directory' 页另一种错误,按这种情况我没遇到:http://www.mamicode.com/info-detail-1564042.html vue报错 Module not found: Error: Cannot resolve 'file' or 'directory'

修复/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory问题

1.在64系统里执行32位程序如果出现/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory,安装下glic即可 yum install glibc.i686 2.error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory yum install zlib.i686

Redis 2.8.18 安装报错 error: jemalloc/jemalloc.h: No such file or directory解决方法

错误描述 安装Redis 2.8.18时报错: zmalloc.h:50:31: error: jemalloc/jemalloc.h: No such file or directoryzmalloc.h:55:2: error: #error "Newer version of jemalloc required"make[1]: *** [adlist.o] Error 1make[1]: Leaving directory `/data0/src/redis-2.6.2/src

linux 出现bash: ****: /lib64/ld-linux-x86-64.so.2: bad ELF interpreter: No such file or directory

误删除glibc-2.12-1.192.el6.x86_64 rpm 包,导致整个系统的所有命令(cd 除外)都不能用. 使用命令出现如下提示: bash: /bin/cp: /lib64/ld-linux-x86-64.so.2: bad ELF interpreter: No such file or directory bash: /bin/ls: /lib64/ld-linux-x86-64.so.2: bad ELF interpreter: No such file or direc