From owner-freebsd-questions@FreeBSD.ORG Sat Dec 24 22:54:40 2011 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 B11D9106566B for ; Sat, 24 Dec 2011 22:54:40 +0000 (UTC) (envelope-from drew@mykitchentable.net) Received: from rc2.surewest.net (rc2.surewest.net [66.60.130.51]) by mx1.freebsd.org (Postfix) with ESMTP id 867168FC18 for ; Sat, 24 Dec 2011 22:54:40 +0000 (UTC) Received: from smtp4.surewest.net ([66.60.130.145]) by rc2.surewest.net ({1b970212-ad71-403b-a2dd-d897d2565e71}) via TCP (outbound) with ESMTP id 20111224223548720 for ; Sat, 24 Dec 2011 22:35:48 +0000 X-RC-FROM: X-RC-RCPT: Received: from smtpauth.surewest.net (smtpauth.surewest.net [66.60.130.153]) by smtp4.surewest.net (Postfix) with ESMTP id 805048944B for ; Sat, 24 Dec 2011 14:35:48 -0800 (PST) Received: from blacklamb.mykitchentable.net (unknown [69.62.230.77]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtpauth.surewest.net (Postfix) with ESMTPSA id 49AFC9C256 for ; Sat, 24 Dec 2011 14:35:48 -0800 (PST) Received: from [127.0.0.1] (bigdaddy.mykitchentable.net [192.168.1.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by blacklamb.mykitchentable.net (Postfix) with ESMTPS id 89B501657FE for ; Sat, 24 Dec 2011 14:35:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mykitchentable.net; s=default; t=1324766148; bh=JFQKfK2dv8mHm0SQnfmmwd6rrGSieu4PoK91+5LvqFw=; h=Message-ID:Date:From:MIME-Version:To:Subject:Content-Type: Content-Transfer-Encoding; b=P6EvWZfxphR1FjhNo4Xiqls+iEX2xA9upnG6K6VjWmLLXw0cHdCpDYT4rZAatayMM phFfUt/sdRpDoaETVNPsOHr2u4hl/oMX2DHtTJPLLsvW4pGxTC+6HIpeSNr8vgbE9y YqEJxB2+cYJGXq0inLRzfzsRWvKIPbvx/5jq1oNg= Message-ID: <4EF653B7.2070500@mykitchentable.net> Date: Sat, 24 Dec 2011 14:35:35 -0800 From: Drew Tomlinson User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 111224-1, 12/24/2011), Outbound message X-Antivirus-Status: Clean Subject: FreeBSD 8 LiveFS - How To Start 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: Sat, 24 Dec 2011 22:54:40 -0000 I've lost a drive in my FBSD 8.? box. I have a FBSD 8.1 LiveFS CD from which I've booted. I'd like to get sshd running so I can connect remotely and have the ability to browse, copy/paste, etc. while I see what I might be able to salvage before replacing my drive. I've found these directions: http://wiki.ggis.biz/index.php/Recover_Using_LiveFS I can do the "Configure the network connection", the "setup login shell for root", and the "Prepare SSH" part. However the "Enable, configure, and start sshd" part doesn't seem to apply and really doesn't make sense. Bottom line is that after running /mnt2/use/sbin/sshd, I can see the process in ps output. However when I attempt to connect to sshd as root, my connection is immediately closed. I'm thinking it's a PermitRootLogin yes issue and I'm missing something but I've read and re-read that section and verified that /etc/ssh/sshd_config contains PermitRootLogin yes. Can anyone tell me how to get sshd running or point me to a better link? Thanks, Drew -- Like card tricks? Visit The Alchemist's Warehouse to learn card magic secrets for free! http://alchemistswarehouse.com