首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >git挂起在ssh上执行远程命令。

问git挂起在ssh上执行远程命令。
EN

Stack Overflow用户
提问于 2019-08-02 13:25:50
回答 1查看 407关注 0票数 0

当我试图在windows (推、拉、克隆)上执行任何带有git的远程命令时,ssh连接被卡住了。身份验证是成功的,但是git被卡在这一行上:

debug2:在0频道上接受exec请求

我试着更换ssh密钥并重新安装git。这是以前起作用的,但突然停止了。

身份验证后的日志:已验证为地址(地址:7300)。

代码语言:javascript
复制
> debug2: fd 4 setting O_NONBLOCK debug2: fd 5 setting O_NONBLOCK
> debug1: channel 0: new [client-session] debug3: ssh_session2_open:
> channel_new: 0 debug2: channel 0: send open debug3: send packet: type
> 90 debug1: Entering interactive session. debug1: pledge: network
> debug3: receive packet: type 91 debug2:
> channel_input_open_confirmation: channel 0: callback start debug2: fd
> 3 setting TCP_NODELAY debug3: ssh_packet_set_tos: set IP_TOS 0x20
> debug2: client_session2_setup: id 0 debug1: Sending command:
> git-receive-pack '(pack_name' debug2: channel 0: request exec
> confirm 1 debug3: send packet: type 98 debug2:
> channel_input_open_confirmation: channel 0: callback done debug2:
> channel 0: open confirm rwindow 2097152 rmax 32768 debug3: receive
> packet: type 99 debug2: channel_input_status_confirm: type 99 id 0
> debug2: exec request accepted on channel 0
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2019-08-07 16:25:07

这是通过重新启动bitbucket服务器来修复的。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/57327441

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档