English 中文(简体)
经济学:如何防止 session会议退出?
原标题:Mobaxterm: how to prevent ssh session from exiting?
  • 时间:2019-08-07 01:36:15
  •  标签:
  • mobaxterm

如何制止这种情况?

Session stopped
    - Press <return> to exit tab
    - Press R to restart session
    - Press S to save terminal output to file

Network error: Software caused connection abort

缩略语

最佳回答

如果你们仍在寻求像我这样的答案,那么你们会走!

B. 设置――和; 配置――和;SSH-> SSH 保持

Restart MobaXTerm after changing the setting for it to take effect.

>https://superuser.com/a/1298536

问题回答

在我的案件中,我已经检查了<斯特隆>SSH 保持的备选办法,但现在和那时情况都是如此。

因此,我所做的是。

  • Disable (uncheck) SSH keeaplive close MobaXterm
  • Open MobaXterm and check SSH keeaplive close MobaXterm (again)
  • Open MobaXterm enjoy the stability for a couple of weeks...

我正在使用一个计算机操作Windows 10 Professinal版本20H2的特许版本。

上述两种解决办法(即:@helloworld &@jepachecoh)都实际可行,但可能需要额外工作,这里是几个补充。

以上两种选择如果:

<>1>。 您与正在运行SSH(daemon)的东道国(目的地服务器)重新连接,但并没有为连接SSH客户而设置任何会期配置。

<>2>。 您与已经拥有SSH客户排位组合的东道国重新连接,但固定价值(在偏远的东道国)或高于或等于您对SSH客户(如MobaXterm、Ptty等)的“管理”价值。

如果服务对象为“SSH 用户全员配置”,则they overe 您的偏远客户SSH 保持配置,从而控制会议时间。

查明在目的地服务器SSH配置上是否设有任何组合,使用以下指挥系统(作为根基,或使用权势特权的用户):

$ cat /etc/ssh/sshd_config | grep "ClientAlive"

The command above works on multiple Linux and Solaris flavours. If you don t have admin access to the destination server, your Systems administrator may be managing your session timeouts irrespective of the "keepalive" parameters you set on your SSH client before connecting.

Lastly, if you are using VPN software, or connecting to a demilitarized zone (DMZ), sometimes the session timeouts are controlled at that level (firewall level), so involve your Network administrator.

博特底线,爱你的管理人员。

As an altenrative, if you need some code to keep running even if you get disconnected (for example, large SQL querys) you can use tmux to create a session that executes in the background. If you get disconected you can simply attatch back to the session where you were executing the code.

如果有人需要的话,你可以找到一个口号:





相关问题
MobaXterm: screen freezing

I use MobaXterm to connect (via ssh) to an Ubuntu server as a Virtualbox guest and, to edit files I use Vim. So far so good but randomly I have a kind of freeze screen. Cursor is still blinking but it ...

热门标签