Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
You lost a connection to it. There's too many variables to say what exactly it was. Your modem could've dropped offline for a minute, the remote computer might have been rebooted, or decided that you filled your quota of time and kicked you, your ISP might have had some problems, etc.
I'm running into the same problem when I log in from home. Here's some extra information: the remote host is my linux machine running FC3 with firestarter.
Is there a way to find out if it's my linux server activating this and if so where's the setting that's causing it?
I'm having the same problem. I can SSH to my home machine, but after some point (usually between 5 and 30 minutes later, I would guess) I get a "connection reset by peer" error. Here's the tail end of ssh -vv host.name.com 2>/tmp/ssh.log:
Code:
debug2: channel 0: window 32765 sent adjust 32771
debug2: channel 0: window 32743 sent adjust 32793
debug1: channel 0: free: client-session, nchannels 1
debug3: channel 0: status: The following connections are open:
#0 client-session (t4 r0 i0/0 o0/0 fd 4/5 cfd -1)
debug3: channel 0: close_fds r 4 w 5 e 6 c -1
debug3: fd 2 is not O_NONBLOCK
Read from remote host host.name.com: Connection reset by peer
Connection to host.name.com closed.
debug1: Transferred: stdin 0, stdout 0, stderr 108 bytes in 6078.6 seconds
debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0
debug1: Exit status -1
debug1: compress outgoing: raw data 26857, compressed 12497, factor 0.47
debug1: compress incoming: raw data 168482, compressed 39876, factor 0.24
I'm not sure if this can be traced, but I'd like to figure out where the weak link is. Generally, I SSH home and connect to other machines inside screen(1). The top-level SSH connection fails, I reconnect, I attach to the same screen, and all my old SSH connections are still active. So, it appears to be something on the local network, be it my workstation, the router, or the connection to our service provider.
I'm connecting from Win2K SP4, either with OpenSSH inside xterm via Cygwin, or PuTTY. Remote machine is Slackware 10.0. Any ideas or suggestions would be appreciated. =)
" in your firewall configuration, increase the timeout for ssh connection to a value higher than /proc/sys/net/ipv4/tcp_keepalive_time" would be the cleanest
I don't believe it's a timeout issue in my case. Oftentimes I'll lose the connection while I am typing. Vim will become unresponsive, and after 15-20 seconds I'll get the "connection reset" message.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.