From nobody Thu Apr 06 00:21:57 2023 X-Original-To: freebsd-questions@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 4PsMdJ53l3z44NMT for ; Thu, 6 Apr 2023 00:22:12 +0000 (UTC) (envelope-from bounce.cwcojpnd30=bp24tof5ra5d=p6lkjg9yci@em773646.vernuftiger.nl) Received: from e2i954.smtp2go.com (e2i954.smtp2go.com [103.2.143.186]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4PsMdH0wW9z42hZ for ; Thu, 6 Apr 2023 00:22:10 +0000 (UTC) (envelope-from bounce.cwcojpnd30=bp24tof5ra5d=p6lkjg9yci@em773646.vernuftiger.nl) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=smtpservice.net header.s=a1-4 header.b=fwXTBXPy; dkim=pass header.d=vernuftiger.nl header.s=s773646 header.b=B1ewipQ9; spf=pass (mx1.freebsd.org: domain of "bounce.cwcojpnd30=bp24tof5ra5d=p6lkjg9yci@em773646.vernuftiger.nl" designates 103.2.143.186 as permitted sender) smtp.mailfrom="bounce.cwcojpnd30=bp24tof5ra5d=p6lkjg9yci@em773646.vernuftiger.nl"; dmarc=none Received: from [10.87.208.57] (helo=mail.pub.vernuftiger.nl) by smtpcorp.com with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96-S2G) (envelope-from ) id 1pkDO5-bMRTwD-0W for freebsd-questions@freebsd.org; Thu, 06 Apr 2023 00:22:01 +0000 Received: from mail.vernuftiger.nl (localhost [127.0.0.1]) by mail.pub.vernuftiger.nl (Postfix) with SMTP id E6DCD9567F9 for ; Thu, 6 Apr 2023 02:21:58 +0200 (CEST) Received: (qmail 38380 invoked from network); 6 Apr 2023 00:21:58 -0000 Received: from unknown (HELO ?192.168.111.24?) (192.168.111.24) by mail.vernuftiger.nl with SMTP; 6 Apr 2023 00:21:58 -0000 Message-ID: <08927381-e37c-0ec6-2b9e-25241cf38dd9@vernuftiger.nl> Date: Thu, 6 Apr 2023 02:21:57 +0200 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 To: freebsd-questions Content-Language: en-US From: ICT builder Subject: sshd (base system) and openssh portable (ports) on different ports disables other Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-smtpcorp-track: 1pkDO5PuRTwD0W.LsCoJd6nrVnIz DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smtpservice.net; i=@smtpservice.net; q=dns/txt; s=a1-4; t=1680740528; h=feedback-id : x-smtpcorp-track : date : message-id : to : subject : from : reply-to : sender : list-unsubscribe; bh=Jfdq8l7I20AmZ7P51FJrCUZxYxGdt9XCIkMy+kkuFiA=; b=fwXTBXPyez7DZ0KYFGBiL0zVoNYwRl5n7voUsoCTDxLv/UZLbJkXMRSdOgl8CeFs5BmRf be1EDjiW794fX+dizF1B56DIVRzj3gbykudCH5iKzNtJ3uz0CF5X1HyuyvlgMg80n0ON/Gy nemODaQaBh63+EOp0l3ki0Exyw4bkizvuHw9UwY+XN8TLxoBgw/wQc2ao1r3sVsVhSkTdDP M7qriXoo7ZZxwdr3/wXp7japr3Bop77ZSIe7XQg8wHhxS4KwGlF6lnN5hJXzirP9mpyNGuK aots5sUIc+atkxSO3n/A/05ZX2CM76RmQZaxHRaYofleeVGzQE3oTYfGNJfw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vernuftiger.nl; i=@vernuftiger.nl; q=dns/txt; s=s773646; t=1680740528; h=from : subject : to : message-id : date; bh=Jfdq8l7I20AmZ7P51FJrCUZxYxGdt9XCIkMy+kkuFiA=; b=B1ewipQ9YA2t4qYSf6/uZuTq/kGsOxRGzSnmxYRGrCks5apz+hMuGcxugtuhnN7pgSvak V+w1GwGWBrhc+jrSoK/CxGw1CewK4QZlo16sAauO7YW/kGqP5yJFboXeBF6ADiSbo7Y3Y6d O+iD98ABb3EnkGsGvdnxIgJnE38TzYYEs9C659UsqyLiPTvLwMcUQdKuU95C4o9tY2Wh9YH mOVosVkpSFehyZJm4X2oUmq/ZCAhYcV2KleMx4S0do3Q7NqpjMVFdPiPcDycLs1fL3nEFmo cIVG5iDLX9PsHQqYOXMnWIycIw+BZNMRRtdmNuqe903diwDB6d8jNqTGjPIA== X-Spamd-Result: default: False [-3.20 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.997]; FORGED_SENDER(0.30)[builder@vernuftiger.nl,bounce.cwcojpnd30=bp24tof5ra5d=p6lkjg9yci@em773646.vernuftiger.nl]; R_SPF_ALLOW(-0.20)[+ip4:103.2.140.0/22]; R_DKIM_ALLOW(-0.20)[smtpservice.net:s=a1-4,vernuftiger.nl:s=s773646]; MIME_GOOD(-0.10)[text/plain]; ASN(0.00)[asn:23352, ipnet:103.2.140.0/22, country:US]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; MIME_TRACE(0.00)[0:+]; DKIM_TRACE(0.00)[smtpservice.net:+,vernuftiger.nl:+]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_NEQ_ENVFROM(0.00)[builder@vernuftiger.nl,bounce.cwcojpnd30=bp24tof5ra5d=p6lkjg9yci@em773646.vernuftiger.nl]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[vernuftiger.nl]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4PsMdH0wW9z42hZ X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N Hello, Im trying to setup (in a jail) sshd from base system on port 22, this works. For remote sftp I added openssh portable trough ports and set it up on a different port. Goal is to run both at same time but as soon as i start or restart openssh portable port 22 sshd base system gets closed. Once I restart base sshd port 22 is back but then the port set for openssh portable gets closed. Goggling didn't turn up anything useful so I hope someone here can tell me how I can run both ssh servers (on different ports) at the same time. Thanks for reading so far