From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id aLLBN9BMSmPxbQEAbAwnHQ (envelope-from ) for ; Sat, 15 Oct 2022 08:01:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id aBzaN9BMSmO7AAAA9RJhRA (envelope-from ) for ; Sat, 15 Oct 2022 08:01:52 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8A47C18B65 for ; Sat, 15 Oct 2022 08:01:52 +0200 (CEST) Received: from localhost ([::1]:56242 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ojaF5-0001cu-Ki for larch@yhetil.org; Sat, 15 Oct 2022 02:01:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37474) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ojaEp-0001ci-B3 for help-guix@gnu.org; Sat, 15 Oct 2022 02:01:35 -0400 Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]:35343) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ojaEj-0006ss-D2 for help-guix@gnu.org; Sat, 15 Oct 2022 02:01:34 -0400 Received: by mail-lf1-x132.google.com with SMTP id r14so10272311lfm.2 for ; Fri, 14 Oct 2022 23:01:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=c0HGasH3YUF7om0ujIwVTWHofem0uIZK6bq/cSVdbfI=; b=SVNOlvnNvrcAxyuvvW6e+Tueb8zsruEaqp1kB31vx4aIBFLp0Lct6YqwLKKWyWo7fY OELJt76pg72AXFuZd6QysBU/P5Xu1wN9gEJzKugnaVF7x1o0GUkqdYvJ2H0/GGJ2C1UE zWFFavreAavcsEHjM6wtggOG+9a0SeX3TIfoSUtOfRdvS2PZPUwf+MjwBpRSwRkYuqOY Pao+mZ4sgFqd3flCYKFqycf8eg6cGkysphxgKcf1LGAJlk/dC9CCvfEY2cafmDHh4p5s g+dbNMNTktq48Yt0jHj1dazh5ZA2wtMkK7uvHu6cMt2nWakyfahNlIliSdgmZyoZb4IE vi7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=c0HGasH3YUF7om0ujIwVTWHofem0uIZK6bq/cSVdbfI=; b=76qcmE48d7ZP/rR8cfUrGBJjZZ64ISYEguiZ1QVrUH9XEQ2E5fh58H/pjQuNA9N116 zcNeoQunu+7k/SMJcbyh7WOXdzSc+15b8BDHr2bzq1hBRIyMNZdwdW2P5YWXKvMP5IOY IWJAdC5nI1nBQV37pGUISSp4b+tSvEpGNU7aTOasFKwAEwT6Sl5bqJ+/piqMR9H7la42 q9iick0XS7u2EIW3yH3swhLNfxxBKAmLBMc8z0S+IyG6oGJx5aF0jvqwWJOM9OYBAs/c Q2IvKPJ0jYcs7VYtWMzeXHVVtZSWDS/sfT7kKYSUvO999n78FfYh1y2sGdtki15LTW4r F+hQ== X-Gm-Message-State: ACrzQf2iqv3kc/fJ5/IqL/XPhpQU6fNWRHBM74aMoGVD95XpwdHB3HtS GLdju0qp4oCvdjyhWB0JXMk= X-Google-Smtp-Source: AMsMyM6VQqjjhezkNoUzacQqAdpiCkJXZj55x5R0LW88aPccIIL8pL3iHpVDM0eXtdmwE9rJF4dOjA== X-Received: by 2002:a05:6512:3a8e:b0:4a2:f42:148 with SMTP id q14-20020a0565123a8e00b004a20f420148mr421999lfu.343.1665813686857; Fri, 14 Oct 2022 23:01:26 -0700 (PDT) Received: from localhost ([88.201.161.72]) by smtp.gmail.com with ESMTPSA id u5-20020a2e9f05000000b002637c04b472sm674729ljk.83.2022.10.14.23.01.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Oct 2022 23:01:25 -0700 (PDT) From: Oleg Pykhalov To: dabbede@gmail.com Cc: Felix Lechner , help-guix@gnu.org Subject: Re: Connection refused to Guix-hosted SSH References: Date: Sat, 15 Oct 2022 09:01:24 +0300 In-Reply-To: (dabbede@gmail.com's message of "Fri, 14 Oct 2022 10:54:37 +0200") Message-ID: <87a65xbp6z.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a00:1450:4864:20::132; envelope-from=go.wigust@gmail.com; helo=mail-lf1-x132.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665813712; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=c0HGasH3YUF7om0ujIwVTWHofem0uIZK6bq/cSVdbfI=; b=Cb/zzufrAYhw8IjO49mOlguPjiLxX7EhJsTTTUDcnASWUZSn4Haesg6YKkjhC45nFpdYyX /HaMIHeBwly0/aY07CBCelYjU11BR9NKQqhQkf1XsioPMu2zQMSq1Wv91mgOxLEE3ali/U vm1mFRkRF2ZjaYw8Bjqlt+x3SDU5oYuuQZfsDOTf/NXilAxkmDUKKVi1qTzUupqSZYXKIR N/03bT7xjLTSEdXMF0LVccZY/lUaa93Ib71lMwbAyzpSHy9d1JluRBl8bn46gBEg9ztl3/ y07GXHuTILSYMZxyZenl+vUsP3kPQFpszBE4jb1gxGDE9O+Pl/QdzCYINkJswg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665813712; a=rsa-sha256; cv=none; b=HP++s95OruB06BB7Eu3o2z8Dfs0jb+qaDD90Pe0ggsNaBRZJyq3VTbzPSmuQNK4joSoK5a GbR50tKeMEBmNGCXsMAxyEwYikK0E1BzzRdoBccPimIG1T4I6AcavtBu82jxtQJbRbFsZ/ BPX05dHLoDdVX0oQR03AD04LPUS6oHvVOJisOvxkm5YnzoL9HsfHzg650h3mf6oLuBvlBU jXbluzLCclzpgYrYekPrZNmXpq+zN7toNuCB9CdE7uJmHyU/BtkZ0ODXJxrYms0u9mndYK X1IV4NSO+3qVmy0YrXhKa96LTqi4v5VKANdi3b+9DSekM1CTf+1rAB9huhShJA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=SVNOlvnN; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -6.00 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=SVNOlvnN; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 8A47C18B65 X-Spam-Score: -6.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: GRu7h491mCKv --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable "dabbede@gmail.com" writes: [=E2=80=A6] > Sure. I receive a bunch of messages of this form: > > Oct 14 10:04:23 localhost vmunix: [ 5869.880044] audit: type=3D1326 > audit(1665734663.369:6): auid=3D4294967295 uid=3D989 gid=3D983 > ses=3D4294967295 subj=3Dunconfined pid=3D599 comm=3D"sshd" > exe=3D"/gnu/store/jgw64z5w2q6b4nph7a74jc97ihfxkfsf-openssh-8.9p1/sbin/ssh= d" > sig=3D31 arch=3D40000003 syscall=3D414 compat=3D0 ip=3D0xb7f94549 code=3D= 0x0 > Oct 14 10:04:23 localhost shepherd[1]: 0 connections still in use > after sshd-5 termination. > Oct 14 10:04:23 localhost shepherd[1]: Service sshd-5 (PID 598) exited wi= th 255. > Oct 14 10:04:23 localhost shepherd[1]: Service sshd-5 has been disabled. > Oct 14 10:04:23 localhost shepherd[1]: Transient service sshd-5 > terminated, now unregistered. > Oct 14 10:05:43 localhost shepherd[1]: Service sshd-6 has been started. > Oct 14 10:05:43 localhost vmunix: [ 5950.061859] audit: type=3D1326 > audit(1665734743.553:7): auid=3D4294967295 uid=3D989 gid=3D983 > ses=3D4294967295 subj=3Dunconfined pid=3D601 comm=3D"sshd" > exe=3D"/gnu/store/jgw64z5w2q6b4nph7a74jc97ihfxkfsf-openssh-8.9p1/sbin/ssh= d" > sig=3D31 arch=3D40000003 syscall=3D414 compat=3D0 ip=3D0xb7fba549 code=3D= 0x0 > Oct 14 10:05:43 localhost shepherd[1]: 0 connections still in use > after sshd-6 termination. > Oct 14 10:05:43 localhost shepherd[1]: Service sshd-6 (PID 600) exited wi= th 255. > Oct 14 10:05:43 localhost shepherd[1]: Service sshd-6 has been disabled. > Oct 14 10:05:43 localhost shepherd[1]: Transient service sshd-6 > terminated, now unregistered. > > I see "Service sshd-6 (PID 600) exited with 255." but I don't know > what it means nor why. > In order to gain more insight I've tried to connect with verbose > output "ssh -v test@localhost" and this is the output 255 usually means something wrong with a program execution (e.g. missing binary). In the current case it should a Shell program by SSH default. Could you try to specify a non-interactive program manually? E.g.: ssh -vvv 127.0.0.1 -- /run/current-system/profile/bin/id It should output SSH client log and =E2=80=98id=E2=80=99 program output. Oleg. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJIBAEBCgAyFiEEcjhxI46s62NFSFhXFn+OpQAa+pwFAmNKTLQUHGdvLndpZ3Vz dEBnbWFpbC5jb20ACgkQFn+OpQAa+pz8Uw//bxLKyYlihjOyK26hezrKMjOlbrXA H4rYiraRLHvUCCrJHzV946vKBaKgj0xrjJj3baVpK8id4ZflVtrd67pMIN+HmiNg utWtr/rWXes4hXIvzcsXPREkjIoJtFDDpTEQYwMwT7uyQYeNV9RuCbU5z5gmQuQt pCME5VlDT0iEUAekrCdrQeXsdN08Z9el8A6pEJ6HMifJ4YVxRaSvrLdA2BJN6ukf aXWp9xYFrICqWth/RPFVS06GZeoNIQ+KIaH2Dx1P5GRcG9+GuNQlwvvlMBIG/VdZ 961aAMvYn9A5f5UWxlfLtr2YsqvXF/TRCWJ6CyX0DFr8crtDAvLOlmd4hzP39t3x +e4SrnJdyz3bSHrZNjd40x5pzxVGdU2yu4vu9DesGIRMVsyVvhRZ6FtI6nLnKdxr rfnazpv8jLtzp+s4jciqygEUYE3jDLFTz2tbtDsRwUOExC+dIluzF0B5D8k/b01T Pqxqlsbx9WaR3cTRJmdXnMPUOgajpq3vMLdzqZq+zlywyIACzH4N+/H8tuh2HvA+ lFlnbwT3jetXawsMGXmjyQmTQuOgUupOLrf4hMiHRlmP5ibgmWByPcupWyN6SDuq o9+2ok/i7NMARac7dKstlIZ9w51hTNoTg/eceJc4X3vIuzdvbTzMZKqUIhUfKkj/ CbENlUyCnc6kHdc= =Ddzy -----END PGP SIGNATURE----- --=-=-=--