I am using Tera Term Version 4.92 on Windows 7.
I have SSH connection to Ubuntu 14.04.3 LTS in Tera Term, but it will be disconnected after a while.
On the Ubuntu side, /etc/ssh/sshd_conf
is configured as follows and a Keep Alive is sent.
ClientAliveInterval 30
ClientAliveCountMax5
Also, on the Tera Term side, set Keep-alive to 30 seconds under Settings - > TCP/IP...
I think both the server side (Ubuntu) and the client side (TeraTerm) regularly skip Keepalive packets to each other, but I don't know why they are not connected.
Please let me know if you know.
ubuntu ssh teraterm
How about setting the Term setting
> SSH
> Heartbeat (keep-alive)
to 30 seconds?
There may be a slight possibility that the server-side environment variable is TMOUT.
If the ssh setting is irrelevant, you might want to set the automatic timeout for the login shell.
TMOUT for bash, autologout for zsh, etc.
I think there is a function to log out without any action for a certain period of time.
I don't know which login shell you are using, but
If you look into that area, you may find out.
Do you use ESET?
I've experienced it, but isn't it this way?
Continued ·When SSH is connected to CentOS, it disconnects in about 1 minute
Maybe it's because the Ethernet power saving is turned on?
The Internet is choppy frequently in Windows 10→ Power-Saving Ethernet was the reason.
I'll set it up on the client side though.
in the User Folder/.ssh/config configuration file
I think you can set the following.
ServerAliveInterval
"If you go around with ""SSH automatic disconnect"", you'll see a lot of things, but I guess it's around here, right?
© 2024 OneMinuteCode. All rights reserved.