On a linux box I created 10 user accounts. They were able to putty and ftp to the linuxServer. I installed minecraft server. Now the users of the 10 accounts can login but the connection automatically gets closed by Linux server. I can still login with putty. My users get an error connection closed by remote host. How can I fix this so my 10 users can login again?
Asked
Active
Viewed 871 times
2 Answers
0
Are the connections idle? If so, add this to /etc/ssh/sshd_config on the server:
TCPKeepAlive yes
ClientAliveInterval 60
and reload the sshd:
$ sudo service ssh reload
trurl
- 2,202
0
The environmental setting TMOUT is used to automatically log inactive users out. The default is 300 seconds (5 minutes).
Either adjust the TMOUT setting, or to stop auto-logouts completely set to zero, in users .bash_profile (or set system-wide in /etc/profile)
export TMOUT=0
suspectus
- 5,008