腾讯云服务器, Xshell 总是强迫退出

2017-08-26 12:40:11 +08:00
 ericgui
Socket error Event: 32 Error: 10053.
Connection closing...Socket close.

Connection closed by foreign host.

Disconnected from remote host(Test-Qcloud) at 12:34:02.



我一开始以为是 Xshell 升级 所致
但我还有一个阿里云服务器
3 个 vps
都一切 OK

连接腾讯云总出现这个问题
这个怎么搞的啊?

注:我买的是当年 200 多元一年的腾讯云促销的机器

难道是便宜没好货?
15777 次点击
所在节点    全球工单系统
17 条回复
zlfzy
2017-08-26 12:52:10 +08:00
在 /etc/profile 里面有个什么 TMOUT 的参数可以去掉
ericgui
2017-08-26 13:34:07 +08:00
@zlfzy cat /etc/profile
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).

if [ "$PS1" ]; then
if [ "$BASH" ] && [ "$BASH" != "/bin/sh" ]; then
# The file bash.bashrc already sets the default PS1.
# PS1='\h:\w\$ '
if [ -f /etc/bash.bashrc ]; then
. /etc/bash.bashrc
fi
else
if [ "`id -u`" -eq 0 ]; then
PS1='# '
else
PS1='$ '
fi
fi
fi

if [ -d /etc/profile.d ]; then
for i in /etc/profile.d/*.sh; do
if [ -r $i ]; then
. $i
fi
done
unset i
fi


没有 TMOUT
csx163
2017-08-26 13:41:18 +08:00
改下 sshd 的配置文件,不过有些改了也没用
a1044634486
2017-08-26 13:55:13 +08:00
自己笨怪腾讯
echo 'export TMOUT=#' >> /etc/profile && source /etc/profile
bkmi
2017-08-26 13:57:00 +08:00
只想问,还敢用 xshell?
topbandit
2017-08-26 13:57:45 +08:00
Connection closed by foreign host. 表示外部机器断开连接
zlfzy
2017-08-26 14:23:02 +08:00
@bkmi xshell 现在有后门了? 我差不多 200 台云服务器都用着呢,不要吓我。dalao 们现在用什么终端?
aver4vex
2017-08-26 14:28:17 +08:00
putty 不是挺好的么
mingl0280
2017-08-26 15:12:39 +08:00
@bkmi putty 这些一样出过后门事件,你不是一样用得上好
f2f2f
2017-08-26 15:13:32 +08:00
@zlfzy xshell 更新最新版一点问题都没 别听他们危言耸听
flyfishcn
2017-08-26 15:16:05 +08:00
@aver4vex putty 是某些汉化版本加的后门,而 xshell 是官方某个版本有,性质并不一样。
eoo
2017-08-26 15:16:12 +08:00
xshell 设置 “保持活动状态”
flyfishcn
2017-08-26 15:17:23 +08:00
#11 回错人了 是回复 @mingl0280
ericgui
2017-08-26 17:10:52 +08:00
@a1044634486 你懂个屁啊,我在编辑文件的时候,出现强制退出

就你能耐。

这是腾讯的锅。
uncleroot
2017-08-27 02:04:04 +08:00
@ericgui 你这应该发工单问。建议试一下其它的文本编辑器
x18960
2017-08-27 03:43:47 +08:00
xshell 挺闲,还得写个规则,匹配腾讯云 ip 然后自己闪退。
tencentcloud
2017-08-29 10:10:49 +08:00
楼主,您的问题建议通过提交工单,让我们的工程师为您跟进处理下哦。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/385924

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX