Re: ssh intermittently hanging after a few frames

From: Darren Tucker (dtucker_at_dodgy.net.au)
Date: 09/07/04

  • Next message: Michael Selvesteen: "Re: change passphrase of keys"
    Date: Tue, 7 Sep 2004 21:16:51 +0000 (UTC)
    
    

    In article <pan.2004.09.07.15.21.20.41144@osprey.astro.umass.edu>,
    Martin Weinberg <weinberg@osprey.astro.umass.edu> wrote:
    >I have a network routed via cable modem. I ssh to my workplace which is
    >behind a firewall. Roughly half of the time, ssh hangs shortly after
    >logging. This does not occur with other machines on the local network;
    >these other machines have the same distro (Debian/Sarge) installed.
    [....]

    Maybe one of the firewalls drops packets with the DF bit set? Try turning
    off Path MTU Discovery ("echo 1 >/proc/sys/net/ipv4/ip_no_pmtu_disc").

    -- 
    Darren Tucker (dtucker at zip.com.au)
    GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
        Good judgement comes with experience. Unfortunately, the experience
    usually comes from bad judgement.
    

  • Next message: Michael Selvesteen: "Re: change passphrase of keys"

    Relevant Pages

    • Re: [opensuse] Getting SSH to Work
      ... opened port 22 for ssh in the firewall. ... That doesn't mean the packets aren't being dropped when coming from this particular machine. ... I could demonstrate selective packet dropping with iptables and a few test machines, but you get the point, right? ...
      (SuSE)
    • Re: unable to start SSH service
      ... Some ssh packages come initially configured to only allow ssh to ... or if you can't get to other machines from yours. ... client issue -- perhaps the packets are getting munched by a firewall. ... Shake it for the birds, ...
      (Fedora)
    • Re: SCP/SFTP Passthrough Solution?
      ... > We have a firewall setup that currently only allows incoming SSH. ... > We then login and can SSH to 10 machines. ... from some port on their own machine to port 22 on ...
      (comp.security.ssh)
    • Re: [opensuse] Getting SSH to Work
      ... sshd is running and I've ... opened port 22 for ssh in the firewall. ... Packets are not being dropped. ... connect thru the same router with other machines. ...
      (SuSE)
    • Re: SSH Connecting through Firewall
      ... >determine wether traffic coming through is really https traffic or not ... the first few bytes of every SSH ... firewall could specifically check for that and terminate the connection ... Good judgement comes with experience. ...
      (comp.security.ssh)