小编San*_*ago的帖子

如何显示 CUPS 打印机作业历史记录?

我正在使用 lpr 命令将一些文件从远程计算机打印到网络打印机。它显然有效,但几分钟后当我输入 lpstat 或 lpq 时,作业已经消失,它可能已经打印了文件。有没有办法检查打印机队列中我成功完成的作业的历史记录或日志?

cups lpr

16
推荐指数
3
解决办法
8万
查看次数

到 gitlab.com 的 ssh 连接在家用路由器后面失败,但在工作场所时很好。然而,Github 和 Bitbucket over ssh 在家也可以

我正在尝试连接到我在 gitlab.com 上的存储库。

它曾经在我在家和工作时在我的笔记本电脑上工作。我正在使用 ssh 并将 ssh 密钥添加到 gitlab。

几天前突然停止在家工作:我得到:

$ git pull
Connection closed by 54.93.71.23
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Run Code Online (Sandbox Code Playgroud)

在我的工作网络中,在同一台笔记本电脑上使用 ssh 可以正常工作。

所以现在我切换到 https 并且它大部分时间都可以工作,但偶尔它会挂起,我得到:

fatal: The remote end hung up unexpectedly
error: RPC failed; result=56, HTTP code = 0
Run Code Online (Sandbox Code Playgroud)

从我的工作来看,这从未发生过,即使我尝试在半小时后提交相同的更改。

ssh 可能有什么问题?我是在路由器防火墙后面还是我的供应商改变了什么?

编辑 1: git pull 的输出,将 LogLevel DEBUG3 添加到我的 .ssh/config:

debug2: kex_parse_kexinit: none,zlib@openssh.com
debug2: kex_parse_kexinit: none,zlib@openssh.com
debug2: kex_parse_kexinit: 
debug2: kex_parse_kexinit: …
Run Code Online (Sandbox Code Playgroud)

ssh git https

3
推荐指数
1
解决办法
1987
查看次数

标签 统计

cups ×1

git ×1

https ×1

lpr ×1

ssh ×1