From owner-freebsd-net@freebsd.org Wed Jan 8 19:41:23 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D0D711F9287 for ; Wed, 8 Jan 2020 19:41:23 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ot1-x329.google.com (mail-ot1-x329.google.com [IPv6:2607:f8b0:4864:20::329]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47tKPG72hXz44X1 for ; Wed, 8 Jan 2020 19:41:22 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-ot1-x329.google.com with SMTP id 66so4738886otd.9 for ; Wed, 08 Jan 2020 11:41:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=T1J0lxaS5bJKxXg0RXb3+CYNdI7TAmyjHjY1NdC5oJs=; b=VnvP11isDl5kR34FDx0VUlop2TtnQyJpWHOLTbZ4jOnZpePwqpY4XrZ+p2BrPRwDKB 2JyyGSQ128HRj2ORUU8zKPER85a92i+vmT2P0E1oWbEQYVJPTkaJs0Yid5Uojb55jI7t nT1xWRqxd0I2xl7vSOkQVfJEMUAE+9wUKK0U+6FtYpIlORV75TPA3x0W/ePkLX5997hi qgNS4igxPGZ4EtrJ9nPNYZQgC2xXnroy3IjGT+VA847MIJLhjK2ONxW+w6JS3jeLu508 /teEDaUoCYPGsEPV+o6BtdlAUdvg+pU30XiT8J7SaQ4R5U5SmS/zjiCwitE9UZKuTUUe CVNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=T1J0lxaS5bJKxXg0RXb3+CYNdI7TAmyjHjY1NdC5oJs=; b=HZDmkLR1NeCYoFrdCOF4A9E6cqyEFlx1UWKQeZ7WJJMuwBd5H9QTAZJrt5LuZYNRD3 LomKP+C73iPjYf09cG6xrhmKUJ2Vwzw6aT0vjoH1nG2ndxmo7ilJf9f2eJpTkf0M7+PY KkSHmFN80JmMSLV/gJf7h8LJjtUIcqgMYBDnMpJp9xEf4qSE7dw82qzvzyEkIznDjVck ApJUEGja//pU4mfmGIOie5Us8cFMb5+FybjZ2vZLzJLJijwlUKtQ2KqFH5TZneu2pHWn 4yNNJyc3kQYep0Nb3oaJ5OXt5DNLnp7vhrRbfVL3md9xLG5jmCrViKAhznX9etfV/SGQ FwcA== X-Gm-Message-State: APjAAAX4JfgPJ9LFQAUEhHyXs1tjLt7euad7qZm/DEqC2paxeZgdvbgc S30yat1egXSjNiHf8J2rKLnNKML6V0aGSce6rfY= X-Google-Smtp-Source: APXvYqwwUfEL4b/LjFudnhwLBO+z96/cz6jNZu73A52RMMgBP9wmKNCMgc9r27eDFPOShqubnXkqLTmMiJRdkf1uOiU= X-Received: by 2002:a9d:560f:: with SMTP id e15mr5356952oti.301.1578512481649; Wed, 08 Jan 2020 11:41:21 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Kevin Oberman Date: Wed, 8 Jan 2020 11:41:05 -0800 Message-ID: Subject: Re: ssh command hang To: tkhemili78@outlook.com Cc: freebsd-net X-Rspamd-Queue-Id: 47tKPG72hXz44X1 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=VnvP11is; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kob6558@gmail.com designates 2607:f8b0:4864:20::329 as permitted sender) smtp.mailfrom=kob6558@gmail.com X-Spamd-Result: default: False [-2.70 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FORGED_SENDER(0.30)[rkoberman@gmail.com,kob6558@gmail.com]; FREEMAIL_TO(0.00)[outlook.com]; IP_SCORE(0.00)[ip: (-8.47), ipnet: 2607:f8b0::/32(-2.12), asn: 15169(-1.85), country: US(-0.05)]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[rkoberman@gmail.com,kob6558@gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[9.2.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jan 2020 19:41:23 -0000 On Tue, Jan 7, 2020 at 12:31 PM Bejiita78 . wrote: > has anyone ever noticed that locally a system may respond just fine, but > running a command like port make install or top would cause the ssh session > to hang indefinitely? I have not experienced this, but some detail might help. Version of FreeBSD, CPU (amd64, arm64, i386, etc.), base SSH or ports. If ports, build config. If you run "ssh -vvv" and "sshd -ddd", does that provide any clues? Have you looked at interface stats on either end for errors and/or drops? If it is reasonably repeatable, a BPF packet capture (probably just headers as the payload will be encrypted) using tcpdump. ssh is heavily used and this is the first report of this I have seen, making it likely that this is a local issue such as a firewall or network issue. I have had sessions up for days, often doing things like running top or building large ports with no problems. I do recall a time when my terminal emulator would occasionally freeze, but I have not seen it for quite a while. I use mate-terminal. This was a problem with the emulator, though, and also would lock up local operation as well as ssh sessions. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683