Gtk-WARNING **: cannot open display:
在從bitbucket倉庫向linux服務器clone項目的時候出現了一個問題:linux
(gnome-ssh-askpass:2850): Gtk-WARNING **: cannot open display:
只要在terminal裏輸入bash
unset SSH_ASKPASS
就能夠了服務器
不過這種方法智能在當前終端有效,若是想一直有效,只須要在~/.bash_profile中添加一行:ssh
export GIT_ASKPASS=
就好了spa
在服務器間用scp傳文件的時候出現一個問題:code
Bad owner or permissions on /home/ldmc_1049/.ssh/config
這是說.ssh/config權限問題,只要修改權限就好了blog
chmod 600 ~/.ssh/config