From owner-freebsd-questions@FreeBSD.ORG Tue Apr 28 20:45:02 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A11D2106566C for ; Tue, 28 Apr 2009 20:45:02 +0000 (UTC) (envelope-from nino80@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.189]) by mx1.freebsd.org (Postfix) with ESMTP id 2F90D8FC0C for ; Tue, 28 Apr 2009 20:45:01 +0000 (UTC) (envelope-from nino80@gmail.com) Received: by mu-out-0910.google.com with SMTP id w9so314805mue.3 for ; Tue, 28 Apr 2009 13:45:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type:content-transfer-encoding; bh=JjmTgRcxC1vPRzq6lod7U7wjssOe6Js1u8J463uhGdI=; b=qXIwzP5ZyMhGooc5ug0gEb7+IHXSVRN+7ZdxFaPdGyNNjaiNEeAYExqb+UygDkwVbp PneIFwU4wwT2d79YNl2B2y9A377BWv1YzriNKLzrQD02jHoJCoKor4cDjbYsAmnFSpKu nWNP/9dtSzNZdfgv2xcTxZ/Fm8yxiezzQvIz8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding; b=RFjQRWyGWeDEx0uabmJxSx46P8XIxi9prej4LrQscmDHOO4qh/R1ajt7NPr7w37+xx R7alF27LmCFwMw3l9GNGUltMdVa0naIaRgbqIZcXTLpRMGgxa3x+7F5ync+nrF4rUY4h o2eKJxr5TvuMwEw9GMZ2Ttq6BOtXDB/bnTaCA= MIME-Version: 1.0 Received: by 10.103.219.17 with SMTP id w17mr4157738muq.36.1240951501066; Tue, 28 Apr 2009 13:45:01 -0700 (PDT) From: n j Date: Tue, 28 Apr 2009 22:44:41 +0200 Message-ID: <92bcbda50904281344yba00584wcb32444c4e817cca@mail.gmail.com> To: User Questions Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: fixit console with sshd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Apr 2009 20:45:02 -0000 I was just wondering if someone could give me a quick advice on how (or at least confirm it's possible) to start sshd in fixit console i.e. how to boot FreeBSD off the CD1 (6.4-RELEASE) and enable SSH access to it. What I have tried (unsuccessfully) so far is: 1) copying sshd startup script (and dependencies like missing sshd_config, rc.subr, sbin/sysctl) from /dist directory - sshd script (with forcestart to ignore rc.conf knob) executes and does nothing 2) chroot the /dist directory, mount_devfs and then start sshd - script tries to generate host keypair and fails to write them due to read-only filesystem I believe booting off a live CD and restoring a backup over network should be a relatively common recovery scenario, but googling around produced no usable results other than "get FreeSBIE live cd". TIA, -- Nino