Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Apr 2009 22:44:41 +0200
From:      n j <nino80@gmail.com>
To:        User Questions <freebsd-questions@freebsd.org>
Subject:   fixit console with sshd
Message-ID:  <92bcbda50904281344yba00584wcb32444c4e817cca@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?92bcbda50904281344yba00584wcb32444c4e817cca>