• Gtk-WARNING **: cannot open display:

在从bitbucket仓库向linux服务器clone项目的时候出现了一个问题:

(gnome-ssh-askpass:2850): Gtk-WARNING **: cannot open display:

只要在terminal里输入

unset SSH_ASKPASS

就可以了

不过这种方法智能在当前终端有效,如果想一直有效,只需要在~/.bash_profile中添加一行:

export GIT_ASKPASS=

就行了

 

  • scp问题

在服务器间用scp传文件的时候出现一个问题:

Bad owner or permissions on /home/ldmc_1049/.ssh/config

这是说.ssh/config权限问题,只要修改权限就行了

chmod 600 ~/.ssh/config

 

相关文章:

  • 2022-12-23
  • 2021-06-12
  • 2021-12-05
  • 2021-12-07
  • 2021-04-25
  • 2021-07-15
  • 2021-06-01
  • 2021-10-02
猜你喜欢
  • 2022-01-15
  • 2021-11-23
  • 2021-07-17
  • 2021-12-18
  • 2022-12-23
  • 2021-09-17
  • 2021-10-14
相关资源
相似解决方案