Re: ssh communication issue



Larry Irwin wrote:
Our ssh connections work fine on all our servers when we connect via the local network.
But, when we ssh from the internet, there are long pauses where i/o is not displayed/echoed to the screen on our Debian servers.
We experience 10 to 30 second pauses after a screen or 2 of display on Debian Etch kernel 2.6.12, SSH-2.0-OpenSSH_4.2p1 Debian-5.
We have same issue, with slightly shorter pauses, on a Debain Sarge kernel 2.4.18, OpenSSH_3.4p1 Debian 1:3.4p1-1.woody.3.
We do not experience the problem on a SCO OS5 3.2v5.0.5 kernel, OpenSSH_2.2.0p1
Does anyone know what might me contributing to the screen IO issue?
Cheers,
Larry

You're not very clear about which portion of the session is slow.

Individual characters echoing back from the remote end after you're at a shell? The initial connection process?

Look for...

A slow network. (Latency across the Internet is not great for interactive keyboard sessions, in many cases.)

A slow DNS lookup or lack of /etc/hosts entries. (During the connection process, SSH looks up your remote machine's name via reverse DNS lookups. Are you coming from machines that don't have proper reverse DNS entries on the new Debian machines, whereas the old SCO machine has a proper reverse DNS entry?)

A slow machine.  (Are all these machines the same speed/quality?)

ssh -v will help you see what portion of the process is slow if it's during the connection process.

If it's after you're connected, see what the ping times between your server and your client are. That's the biggest factor in how "interactive" your keyboard will feel.

Nate


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx




Relevant Pages

  • ssh communication issue
    ... But, when we ssh from the -internet-, there are long pauses where i/o is not displayed/echoed to the screen on our Debian servers. ...
    (SSH)
  • Re: Install Debian 4.0 to watch DVD video
    ... >>> If I want to another linux box connect to the Debian box using ssh, ... I see the ssh has ... >>> already in the debian box, but I guess it is the ssh client, not sshd. ... reinstall or better purge and install to recreate all missing config ...
    (Debian-User)
  • sshd should not use TCP_NODELAY
    ... ssh has been annoying me with little pauses. ... packets after the cutoff that get through, so the required number of duplicate ... The data are sent in tinygrams because sshd sets TCP_NODELAY on the network ...
    (freebsd-current)
  • Re: ssh verso macchine virtuali Parallels
    ... pur avendo cercato di far funzionare tutto, non mi riesce di usare SSH ... da una macchina virtuale Linux Debian su Parallels. ... la Debian viene vista dal Mac stesso come collegata su 10.211.55.13 ...
    (it.comp.macintosh)
  • Re: Install Debian 4.0 to watch DVD video
    ... >>> before and has no problem to network connection. ... I did mean to use dhcp. ... Not sure why doesn't work in Debian. ... I see the ssh has ...
    (Debian-User)