From nobody Fri Nov 10 22:22:49 2023 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SRtmB3RT9z50lpX for ; Fri, 10 Nov 2023 22:29:30 +0000 (UTC) (envelope-from arnaud.houdelette@normandie-univ.fr) Received: from usmtp1.unr-runn.fr (usmtp1.unr-runn.fr [IPv6:2001:660:7404:810::56]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4SRtm82mlzz3SjH for ; Fri, 10 Nov 2023 22:29:28 +0000 (UTC) (envelope-from arnaud.houdelette@normandie-univ.fr) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=normandie-univ.fr header.s=20181002 header.b="s3C/fbJT"; spf=pass (mx1.freebsd.org: domain of arnaud.houdelette@normandie-univ.fr designates 2001:660:7404:810::56 as permitted sender) smtp.mailfrom=arnaud.houdelette@normandie-univ.fr; dmarc=pass (policy=quarantine) header.from=normandie-univ.fr DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=normandie-univ.fr; s=20181002; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:References:In-Reply-To:Subject:To:From:Date:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=+8k3IDWWnfnadnVA9Wy5mbilhB18A6Sr7xz8QiN9u/U=; b=s3C/fbJTxRH+oSFPmFOz5yilrG UhmsxYZb3mjg2/gR7n2wdlciZVL/stMlQ0OxPSfOlmjG6ciH6TJ0vG04aNUw3EfMu21QLmIPX+rGw 3hZo3P49L8yq3MYv/oxwGbKhvZb2pTDJrLUQSjYoOfsp/SaBXABNzf7rijMlNXMsXfqFwl/sUMmOR sbUZDbqAy6t5edMoTA8r98YZVwPd1fAvDJGjM/d1rDS0bB6FLd4BQmJSMq0W23AjonPhiHE5QgZM5 +SUKgfKb0H/QHHPlQNvvb6qiya+/X/iKUpXmX0NLdyHF8nHl0/rB+YIIpa478QEgEIiT7Bx1sj/iX C8G3GjPg==; Received: from [2a01:e0a:2a:f360:684a:1a50:5eac:3ec7] (helo=[IPv6:::1]) by usmtp1.unr-runn.fr with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1r1a06-00Gnyc-0w for freebsd-net@freebsd.org; Fri, 10 Nov 2023 23:29:18 +0100 Date: Fri, 10 Nov 2023 23:22:49 +0100 From: Arnaud HOUDELETTE-LANGLOIS To: freebsd-net@freebsd.org Subject: Re: fib with ssh User-Agent: K-9 Mail for Android In-Reply-To: References: Message-ID: <04762DE0-1954-4A03-84B3-6F85D82AD940@normandie-univ.fr> List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=----N5ASY2AZO730IREJ0N9BQSZK63NSS4 Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-3.90 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[normandie-univ.fr,quarantine]; R_SPF_ALLOW(-0.20)[+ip6:2001:660:7404:810::/64]; R_DKIM_ALLOW(-0.20)[normandie-univ.fr:s=20181002]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; RCVD_TLS_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:2200, ipnet:2001:660::/32, country:FR]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[normandie-univ.fr:+]; FROM_HAS_DN(0.00)[]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: 4SRtm82mlzz3SjH X-Spamd-Bar: --- ------N5ASY2AZO730IREJ0N9BQSZK63NSS4 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi=2E Fast answer : have two sshd instances running=2E=20 Symlink sshd RC script, then use rc conf entries like=20 sshd_adm_enable=3D"YES" sshd_adm_fib=3D"2" sshd_adm_flags=3D"-f /etc/ssh/sshd_config=2Eadm -o PidFile=3D/var/run/sshd= _adm=2Epid" Le 10 novembre 2023 21:42:14 GMT+01:00, Benoit Chesneau a =C3=A9crit=C2=A0: >I have setup 1 fib for normal routing and 1 for OOB, SSH should be able t= o run in the 2 networks handled in different fibs=2E How to have ssh workin= g in 2 fibs? Any help / link is appreciated :) > >Beno=C3=AEt Chesneau, Enki Multimedia >=E2=80=94 >t=2E +33608655490 > >Sent with [Proton Mail](https://proton=2Eme/) secure email=2E ------N5ASY2AZO730IREJ0N9BQSZK63NSS4 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hi=2E Fast answer : have two ssh= d instances running=2E

Symlink sshd RC script, then use rc conf ent= ries like

sshd_adm_enable=3D"YES"
sshd_adm_fib=3D"2"
sshd_adm= _flags=3D"-f /etc/ssh/sshd_config=2Eadm -o PidFile=3D/var/run/sshd_adm=2Epi= d"




Le= 10 novembre 2023 21:42:14 GMT+01:00, Benoit Chesneau <benoitc@enki-mult= imedia=2Eeu> a =C3=A9crit=C2=A0:
I have se= tup 1 fib for normal routing and 1 for OOB, SSH should be able to run in th= e 2 networks handled in different fibs=2E  How to have ssh working in 2 fibs? Any help / link is appreciated :)

=

Beno=C3=AEt Ches= neau, Enki Multimedia
=E2=80=94
t=2E +33608655490 

Sent with Proton Mail secure email=2E
------N5ASY2AZO730IREJ0N9BQSZK63NSS4--