From owner-freebsd-questions@freebsd.org Sat May 4 06:20:21 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7CD95158358B for ; Sat, 4 May 2019 06:20:21 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mail-it1-x12f.google.com (mail-it1-x12f.google.com [IPv6:2607:f8b0:4864:20::12f]) (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 8EC2D731E9 for ; Sat, 4 May 2019 06:20:20 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by mail-it1-x12f.google.com with SMTP id v143so12523662itc.1 for ; Fri, 03 May 2019 23:20:20 -0700 (PDT) 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; bh=B6iG16soz31LklrHZURhLLgbs6r+5LpM02CSnGGB4gk=; b=JeSJP3GYK+73AqVHeao/kx0uKbLqAwAptep3mbG2KBAJcLLSjIJsvdipMOq3uf5utH /QWmDG0NA/LLirjiLXzCX1oazx6+ZHUwbHgF6Lms+ftDmcZRIaB5ul2m4SfjNEiYNOYx rsA8IjbbTxKAPiIipy9XOeXgkut0Mw8NBRXzvWVU4g8O29rV2CzQxDEoma8YbasKaXd1 dmLI+834HI11Ctd5R1BfM+1NIQulv365R6f90g4/1iVCDMukhwWbkJLkVRr82IWGoR2P 3buRnfnTZ/KpASAoywMJZUORzARkCO70sLSYhaWVsc4Qln4EPwobVp0zL30+XJGUYNgd N5Hg== 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; bh=B6iG16soz31LklrHZURhLLgbs6r+5LpM02CSnGGB4gk=; b=JrteP0FZF8OBKyJdbwUilzeBV+U0bWX5TiZuf5La/kegutiZiNZmHim5+PDliMoOZo 5LZWnr22GCXHZqe19AiKBBkJP26iX2BAAZWZ/T9o9PFPJWlb1aD7t6G1ikUpHUecwPeL bBE3KWl84S6Nu3j/dNEx+T0TKhkAz46qPfGTAygvtEZRTKcstTmnoUUe4Dwc7fKbz0wa Z48GSeYclnYX/8gZnRjsEjvA91EXi55dBsf0iq9K9j+Z+auPNFp6Dz+fqpE0EL3kHF+F fKO4b57ZlXjW6tfDav0LgjKPMK4FseR7yoGGiYeeXdso8pnZAvbnelTxZH7fCvfUrCuy LRdA== X-Gm-Message-State: APjAAAUpj/t4Iv2KuejzsG67ld8/RQqAnLuT58gT7ivfKHvXFAt8ad3K CChX1xgtrjA+v6wgF42CaJwYlwbUZhVCaHQ5h67PAOvE X-Google-Smtp-Source: APXvYqzEGzC3+y0wsT/2ScfelotDQ3bgvkB/5OAtzPQ7AlwPG+JQT5mYEL11CLoGxRuqvHdCSWA79u/WIy/vHl1YCuo= X-Received: by 2002:a24:6712:: with SMTP id u18mr10182251itc.144.1556950819733; Fri, 03 May 2019 23:20:19 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Russell Haley Date: Fri, 3 May 2019 23:20:12 -0700 Message-ID: Subject: Re: SSH to jail opens host? To: freebsd-questions@freebsd.org X-Rspamd-Queue-Id: 8EC2D731E9 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=JeSJP3GY; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of russhaley@gmail.com designates 2607:f8b0:4864:20::12f as permitted sender) smtp.mailfrom=russhaley@gmail.com X-Spamd-Result: default: False [-5.77 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.85)[-0.851,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; 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)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-2.91)[ip: (-9.03), ipnet: 2607:f8b0::/32(-3.21), asn: 15169(-2.25), country: US(-0.06)]; RCVD_IN_DNSWL_NONE(0.00)[f.2.1.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_TLS_LAST(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 May 2019 06:20:21 -0000 On Fri, May 3, 2019 at 11:09 PM Russell Haley wrote: > Hi, > > This is so embarrassing. I've got a bunch of jails that I created some > time ago using iocell that work just fine. I've just tried to create a new > jail and every time I try to ssh into it, instead of going to the jail, it > takes me back to my host. > > I say I've created "a" new jail but I've tried this a couple of times now, > each with a different ip4_addr. Does anyone know what stupid thing I have > missed or done that would cause this? > > I can provide more background but I'm not sure what kind of background to > give? Any suggestions would be grand. > > Thanks, > Russ > And as usual I found the answer *right* after I fired off an email in frustration. I hadn't enabled or started sshd in the jail. Duh! Sorry for the noise. Russ