Re: very sluggish SSH when using over dialup ppp link

From: Bill Unruh (unruh_at_string.physics.ubc.ca)
Date: 08/17/04


Date: 17 Aug 2004 16:02:09 GMT

tobias@itservices.co.mz (Tobias Skytte) writes:

]Hi,

]I have an interresting (imho) problem with SSH. I am running a small
]ISP server that has a 64K DSL connection. Whenever I connect to the
]server via SSH (using a fine program called PuTTY) from another
]computer connected to the server via a LAN it works just fine. But
]when I connect to the server via dial-in the ssh almost doesn't work
]at all. I usually have to attempt to login several times because it
]decides that the time I spend between typing the login-name and the
]password takes too long so it closes the connection. And when I
]finally get in, it is so sluggish that almost unusable (i type some
]characters and it takes sometimes several seconds, up to 10 secs, to
]display) but then sometimes it seems to work faster (this comes in
]waves). The computer I am dialing in from is not otherwise accessing
]the internet so I don-t see how it can be a traffic-control problem as
]there is no other data on the ppp link.
]Secondly, the really weird part is that if my DSL link (from the
]server to the internet) goes down then I can *not* get into the server
]even from the LAN ! I merely get a timeout and have to physically
](urgh) go to the server and login there.
]What gives?
]The network layout is like this:

]internet
] |
] |
]cisco 1600
] |
]SERVER (eth0)
]SERVER (eth1)
] |
] LAN

]Server is running RH 9.
]How come SSH is sensitive to wether eth0 is up or down? and how come
]it works fine (when eth0 is up) over the LAN but not over a dial-in
]link?
]I can post logfiles if necessary but not sure which ones would be
]interresting.
]Any help much appreciated.

]Regards,
]Tobias Skytte

Sounds like it might be host name resolving problems. ssh uses the new
getaddrinfo dns routines for ipv6, which can sometimes do weird things. It
sounds like things are timing out on you.
ssh over a phone line should be slower once it is going, since the phone
link is slower. Not sure if it is anything but this.



Relevant Pages

  • Re: Can only connect to local RWW, over internet cannot
    ... OK, so now we know RWW works, and it is a function within RWW, the ability ... to 'Connect to Server' which is problematic, from inside the LAN. ... The 'Connect to server desktops' and 'Connect to my computer at work' ... RDP Proxy dynamically opens the connection to the requesting IP so at this ...
    (microsoft.public.windows.server.sbs)
  • Re: Possible to secure WEP?
    ... It doesn't have to be a "server". ... this IP cannot be in the same class C IP block as your own LAN. ... To keep it simple, my gateway router, ... Ethernet adapter Local Area Connection: ...
    (alt.internet.wireless)
  • Re: 2 NICs Configuration Problem
    ... Servers on the DMZ are public, ... provides NAT for the LAN machines, allowing them to reach the Internet ... effectively bypassing firewall filtering to that server. ... Ethernet adapter Server Local Area Connection: ...
    (microsoft.public.windows.server.networking)
  • Re: Dial-up ICS settings = Configuration Problems
    ... On Machine #1 have you told it that it is to share its Internet connection? ... Double click on your LAN connection ... IntelPRO/100 VE Network Connection - Packet Scheduler Miniport ... Primary WINS Server: 0.0.0.0 ...
    (microsoft.public.windowsxp.network_web)
  • Re: How safe is this..
    ... >of my LAN I have connected a second Router to the first one (LAN 2 WAN ... >setting up a RADIUS server to secure the wireless side even more. ... contrived for the duration of the connection and not saved anywhere. ...
    (alt.internet.wireless)