Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-26-2003, 01:35 PM   #1
Registered: Jan 2003
Distribution: Debian
Posts: 39

Rep: Reputation: 15
SSH timing out/not connecting

Here's a weird problem.

I'm setting up a server machine with Debian 3.0r1 in a friend's dorm room. Setup went well except for some strange reason SSH is really twtchy. Some times I'm able to connect and sometimes I'm not. when I do connect, i will time out at various times, longest i stayed connected was 3 minutes i think.

Recently however I have not been ablet o connect at all.

here's what i get now when i try to connect:

$ ssh -v
OpenSSH_3.5p1, SSH protocols 1.5/2.0, OpenSSL 0x0090700f
debug1: Reading configuration data /etc/ssh_config
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: ssh_connect: needpriv 0
debug1: Connecting to [] port 22.
debug1: Connection established.
debug1: identity file /.ssh/identity type -1
debug1: identity file /.ssh/id_rsa type -1
debug1: identity file /.ssh/id_dsa type -1
ssh_exchange_identification: read: Connection reset by peer
debug1: Calling cleanup 0x41b1b0(0x0)

Any ideas?
Old 01-26-2003, 01:51 PM   #2
Senior Member
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
Looks like you have a connection problem. Doesn't look like SSH itself is the problem ... it's your network connection in general. What happens if you use ping -c 1000 <friend's pc ip>.

How about packet lost there ?
Old 01-26-2003, 02:01 PM   #3
Registered: Jan 2003
Distribution: Debian
Posts: 39

Original Poster
Rep: Reputation: 15
"-c" on cygwin isn't reconized... not sure if that was a typo. a regular ping resultsin this:

$ ping

Pinging with 32 bytes of data:

Reply from bytes=32 time<1ms TTL=255
Reply from bytes=32 time<1ms TTL=128
Reply from bytes=32 time<1ms TTL=128
Reply from bytes=32 time<1ms TTL=128

Ping statistics for
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH remote command not timing out tajsss Other *NIX 5 04-28-2005 06:57 AM
Remotely connecting to MySQL using SSH Teleute Linux - Security 19 03-25-2005 10:51 PM
connecting linux w/ ssh dilberim82 Linux - Software 3 07-08-2003 06:46 AM
problem connecting to messenger and ssh kired Linux - Newbie 6 03-26-2003 09:06 AM
Stop SSH... connecting from outside SchwipSchwap Linux - Newbie 10 08-21-2002 06:00 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:04 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration