user spin wrote:
Hello, I have a problem with ssh. Usually I work connected to several machines from a PC with openSUSE 10.2. But when I do the some from my laptop the connection is closed after some time of inactivity. The message I get in the terminal is: Read from remote host xxx.xxx.xxx.xxx: Connection reset by peer Connection to xxx.xxx.xxx.xxx closed.
How can I tell to my laptop: don't close connection!
Thank you.
There is a setting somewhere, I don't know where, but it is about 300 secs or 5 mins. of inactivity. If I'm going away for a moment or two, just start tailf /var/log/mail (if a mail server) or tailf /var/log/messages if you have some syslog activity and that will hold the connection until you get back; Another, "more proper" way to do it is to use "screen", the detach the session, leave it running, and then reattach when necessary. Note, this doesn't save a lot of keystrokes, but if you have a process on a remote system you need to leave running, either screen or backgrounding the process makes the most sense. See man screen (basically just type screen in any terminal, then ctrl-a h and choose detach or ctrl-a d. -- David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org