AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题

问题[github](ubuntu)

Martin Hope
Remis Haroon - رامز
Asked: 2020-08-23 23:05:53 +0800 CST

致命:无法访问“https://github.com/gitaccount/repo-name.git/”:操作在 300017 毫秒后超时,收到 0 个字节中的 0 个字节

  • 0

我无法从 github.com 执行 git clone Ubuntu 20.04.1 LTS,尝试了其他答案的所有解决方案。禁用了ubuntu防火墙,并且在家庭网络上,所以没有其他防火墙。在windows上一切都很好。
我没有使用任何代理服务器。

ramez@ramez-nx:~/lab$ sudo ufw status
Status: inactive

设置 SSL 验证 = false

ramez@ramez-nx:~/lab$ git config --global https.sslVerify false 

我不知道还能尝试什么,真的卡了好几天。

ramez@ramez-nx:~/lab$ set -x; GIT_TRACE=2 GIT_CURL_VERBOSE=2 GIT_TRACE_PERFORMANCE=2 GIT_TRACE_PACK_ACCESS=2 GIT_TRACE_PACKET=2 GIT_TRACE_PACKFILE=2 GIT_TRACE_SETUP=2 GIT_TRACE_SHALLOW=2 git clone https://github.com/sqlectron/sqlectron-core.git -v -v; set +x –
+ GIT_TRACE=2
+ GIT_CURL_VERBOSE=2
+ GIT_TRACE_PERFORMANCE=2
+ GIT_TRACE_PACK_ACCESS=2
+ GIT_TRACE_PACKET=2
+ GIT_TRACE_PACKFILE=2
+ GIT_TRACE_SETUP=2
+ GIT_TRACE_SHALLOW=2
+ git clone https://github.com/sqlectron/sqlectron-core.git -v -v
10:03:38.851319 git.c:444               trace: built-in: git clone https://github.com/sqlectron/sqlectron-core.git -v -v
Cloning into 'sqlectron-core'...
10:03:38.856462 run-command.c:663       trace: run_command: git-remote-https origin https://github.com/sqlectron/sqlectron-core.git
10:03:38.863159 http.c:756              == Info: Couldn't find host github.com in the .netrc file; using defaults
10:03:48.877543 http.c:756              == Info:   Trying 140.82.118.3:443...
10:03:48.877579 http.c:756              == Info: TCP_NODELAY set
10:03:49.004993 http.c:756              == Info: Connected to github.com (140.82.118.3) port 443 (#0)
10:03:49.029753 http.c:756              == Info: found 383 certificates in /etc/ssl/certs
10:03:49.029809 http.c:756              == Info: ALPN, offering h2
10:03:49.029814 http.c:756              == Info: ALPN, offering http/1.1
10:08:13.018780 http.c:756              == Info: gnutls_handshake() failed: Error in the pull function.
10:08:13.018844 http.c:756              == Info: Closing connection 0
fatal: unable to access 'https://github.com/sqlectron/sqlectron-core.git/': gnutls_handshake() failed: Error in the pull function.
10:08:13.028404 trace.c:487             performance: 274.177112071 s: git command: git clone https://github.com/sqlectron/sqlectron-core.git -v -v
+ set +x –



ramez@ramez-nx:~/lab$ cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.1 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.1 LTS"
VERSION_ID="20.04"
networking git github gnutls
  • 1 个回答
  • 1472 Views
Martin Hope
joeller
Asked: 2020-06-29 05:40:00 +0800 CST

无法ping通GitHub

  • 2

我只能在我的 Ubuntu 18.04 机器上访问GitHub,而连接到同一网络的所有其他机器(Windows PC、iPad、电话)都可以访问 GitHub。

当我尝试 ping GitHub 时,我得到

ping github.com 的结果

运行结果nslookup github.com:

Server:     127.0.0.53
Address:    127.0.0.53#53

Non-authoritative answer:
Name:   github.com
Address: 192.30.253.112

如果我尝试sudo route -n:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.178.1   0.0.0.0         UG    600    0        0 wlp4s0
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 wlp4s0
192.168.178.0   0.0.0.0         255.255.255.0   U     600    0        0 wlp4s0

如果我ping google.com,它的工作原理。

我也无法在浏览器中访问 GitHub。但是,所有其他网站都可以正常工作。另外,我可以在其他设备上访问 GitHub。DNS有什么问题吗?

networking dns ping github
  • 3 个回答
  • 7615 Views
Martin Hope
Vishnu Ezhuthachan
Asked: 2020-06-14 07:56:43 +0800 CST

GIMP 和 github 插件问题

  • 0

我在通过 flatpak 安装的 Ubuntu 16.04(32 位)上安装了 Gimp 2.10.14。因为我想使用https://github.com/bootchk/resynthesizer提供的重新合成器插件,所以我下载了它,发现 gimp 没有检测到插件。

因此,我过去并从 snap 安装了 Gimp,但由于应用程序装甲策略,我无法从 Gimp-preference 窗口访问插件文件夹,请参阅线程Snap 、应用程序装甲和 gimp 插件,但其中注意到了同样的问题。

我尝试了多个论坛中提到的各种方法,例如将下载的插件移动到配置>插件文件夹以提及ieEdit > Preferences > Folder > plug-ins > add new folder但无济于事

最后我看到了这个论坛帖子https://www.gimp-forum.net/Thread-Gimp-2-10-Resynthesizer-Linux?pid=11261#pid11261并从链接 VOILA 下载了插件!它有效(并优先提及它而不是将其复制到位置)

所以我做了一些侦探工作,发现从上面链接下载的插件在终端中显示为绿色,而 github 的插件显示为纯文本白色- >附上截图

在发布之前我已经参考了多种论坛方法,但如果我遗漏了什么,请告诉我

所以,

1. I would like to understand what the problem, is it because the plugin is not made for 2.10.14v?

2. If I need to compile the github download plug-in then how am I supposed to do it ?

3. How to change app armor policy for snap gimp ?

4. Is it due to older python version (coz firing python in terminal shows 2.7.12v) ?
plugins gimp snap github flatpak
  • 1 个回答
  • 208 Views
Martin Hope
LionsSharks15
Asked: 2020-06-03 16:29:03 +0800 CST

我从 Github 克隆了一个驱动包并安装了它;我现在可以删除这个文件夹吗?

  • 1

我从 Github 下载了一些网络驱动程序,现在它们在我的主文件夹中。我已经安装了它们,我的 wifi 现在可以正常工作了。我可以安全地删除此文件夹,还是必须保留它才能使我的网络适配器正常工作?

home-directory networking drivers files github
  • 1 个回答
  • 145 Views
Martin Hope
Aravinth
Asked: 2020-05-26 21:50:32 +0800 CST

Ubuntu 20.04 中的 GitHub 帐户设置

  • 1

如何在我的 Ubuntu 机器上设置我的 GitHub 帐户?

通过命令行,我已经配置了电子邮件和用户名变量,git push第一次这样做时,我在出现提示时输入了我的帐户凭据。但它会抛出错误remote: Invalid username or password.

我在我的帐户中启用 了双因素身份验证 (2FA),当我在 Windows 中通过Git CMD尝试使用类似方法时,弹出一个 UI 窗口以输入和验证 2FA。

在 Ubuntu 中应该如何实现?

Ubuntu 操作系统版本:20.04
GitHub 版本:2.25.1

command-line git github 20.04
  • 1 个回答
  • 373 Views
Martin Hope
Manuel Jordan
Asked: 2020-03-19 16:59:42 +0800 CST

为什么在 SSH 中出现 -T 参数出现在 Ubuntu 文档中,而不出现在终端/控制台中?

  • 0

具有以下操作系统:

  • Linux Ubuntu (18.04 LTS)

当我执行ssh命令时,我得到以下信息:

> ssh
usage: ssh [some characters shown] [-B bind_interface]
           [-b bind_address] [-c cipher_spec] [-D [bind_address:]port]
           [-E log_file] [-e escape_char] [-F configfile] [-I pkcs11]
           [-i identity_file] [-J [user@]host[:port]] [-L address]
           [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
           [-Q query_option] [-R address] [-S ctl_path] [-W host:port]
           [-w local_tun[:remote_tun]] destination [command]

根据Github以下部分中的文档:

  • 测试你的 SSH 连接

有以下语句:

  • $ ssh -T git@hostname

从上面观察-T参数,它没有出现在第一个输出中。

它甚至没有出现在有关以下内容的“官方”文档中SSH:

  • SSH 命令

但它例如出现在 Ubuntu 文档命令中:

  • SSH

在这里我很困惑,因为在 Ubuntu 的文档中,-T参数出现在描述部分而不是概要部分。问题1:为什么会有这种差异?

顺便说一句,我在 Ubuntu 中执行apt update了apt upgrade

好吧,当我执行$ ssh -T git@hostname命令时,我没有收到有关-T参数无效的错误。因此它是有效的,但它不会出现在第一个输出中。

问题2:-T如果理论上是一个无效的参数,为什么没有失败的命令执行?

问题3:什么时候强制使用-T?

Α

使用dpkg -l openssh-client命令显示:

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                          Version                     Architecture                Description
+++-=============================================-===========================-===========================-===============================================================================================
ii  openssh-client                                1:7.6p1-4ubuntu0.3          amd64                       secure shell (SSH) client, for secure access to remote machines

对于ssh -V命令显示:

OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n  7 Dec 2017 
command-line ssh openssh github
  • 1 个回答
  • 2888 Views
Martin Hope
u15p7fgy863eiq5
Asked: 2019-12-31 05:10:31 +0800 CST

Ubuntu Server 安装程序如何从 Github 获取我的 ssh 密钥?

  • 19

我找不到从 Github 获取我或其他人的公钥的方法,但 Ubuntu Server 安装程序可以。

它如何以及我自己如何通过脚本中的 GitHub 用户名获取 ssh 公钥?

server ssh github
  • 4 个回答
  • 5502 Views
Martin Hope
Pranav
Asked: 2019-12-15 08:39:35 +0800 CST

“ssh_askpass exec(/usr/libexec/openssh/ssh-askpass) 没有这样的文件或目录”错误当我尝试使用 VS Code 推送 Git 存储库时

  • 7

不知道发生了什么。但是突然之间我无法在 GitHub 中推送更新。一个月前,我使用 SSH 密钥将 VS Code 与 Github 集成,这样当我将更新推送到 Git 存储库时,我不必每次都输入电子邮件和密码。

我认为 BleachBit 删除了一些重要文件,并且正在发生这种情况。 但这是我的疯狂猜测。我无法证实这一点。因为除此之外我什么都没做。VS Code 过去可以正常工作。这突然发生了。如果这是 Bleachbit 的行为, 我必须小心Bleachbit。错误消息的屏幕截图。

同时,我花了一周时间思考如何解决这个问题。如果您遇到此问题,请务必将其注释掉。

当我这样做时ls /usr/bin/ssh-askpass,它说没有文件或文件夹。这可能是问题的原因。但我确实在/usr/bin中看到了这些与 ssh 相关的文件夹: ssh ssh-add //is a file that supposed to be deleted when I unistalled ssh-askpass ssh-agent //is a file ssh-argv0 ssh-copy-id ssh-keygen ssh-keyscan

ssh git github visual-studio-code 19.10
  • 3 个回答
  • 41821 Views
Martin Hope
BingBong
Asked: 2019-12-04 11:30:19 +0800 CST

将 Github 软件安装为 repo?

  • 0

我读到了这个:如何使用命令行以 .zip 格式下载 GitHub 存储库,但我仍然不清楚。

是否有办法将 github 或 github 项目添加为 Ubuntu 18.04 的存储库,这样当我从该存储库安装程序(例如freetube)时,它将保持最新。

software-installation repository software-sources github
  • 2 个回答
  • 282 Views
Martin Hope
user423047
Asked: 2019-11-19 21:14:22 +0800 CST

是否有降价“富文本”编辑器?

  • 19

我已经厌倦了从头开始写降价表,我需要一些“类似
富文本编辑器”的程序来自动为我创建降价表,从而自动创建表。

我使用的唯一富文本编辑器是LibreOffice Writer,它不支持.md扩展(我猜是因为 markdown 基本上是纯文本)。

  • 我也使用 Visual Studio Code,但我认为无法使用它来编辑 Markdown 的“富文本”。

  • 对 Markdown 富编辑文本之类的程序进行快速谷歌搜索并没有为我产生相关结果。

我如何以舒适的 GUI(“自动”)方式创建降价文档,以便为我编写降价文档?

这可以让我轻松地创建在我的 GitHub 帐户中发布的表(我希望我可以直接在 GitHub 上丰富编辑 Markdown 表)。

automation libreoffice text-editor github markdown
  • 5 个回答
  • 8965 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve