On Sun, Jan 26, 2003 at 10:32:27PM -0800, Mr O wrote:
> Alrighty, confession time. How many of you actually watched that
> big event that was on TV today? Slow weekend on the list.
> Anybody do anyting interesting?
I made some gobi aloo and chutney (Indian food) a little bit ago.
Didn't see the game.
> I managed to temporarily hose my
> gaming box by adding "CONFIG_PROTECT='-*' to my /etc/make.conf
> file. Oops.
I wish the new config files would be put in a different directory
(like, /var/defconfig/etc, or something?) instead of as ._blah
in the same directory ... `diff -ur` is my friend ...
> Just so you know, back up important files beforehand
> :)) Other than that, can somebody point me somewhere that gives
> decent instructions on setting up 'sshd' so I can ssh into my
> boxen?
# from OpenBSD's /etc/rc, to create the host keys, which
# is probably all you really need to do ... the default sshd_config
# should be sane
if [ ! -f /etc/ssh/ssh_host_dsa_key ]; then
echo -n "ssh-keygen: generating new DSA host key... "
if /usr/bin/ssh-keygen -q -t dsa -f /etc/ssh/ssh_host_dsa_key -N ''; then
echo done.
else
echo failed.
fi
fi
if [ ! -f /etc/ssh/ssh_host_rsa_key ]; then
echo -n "ssh-keygen: generating new RSA host key... "
if /usr/bin/ssh-keygen -q -t rsa -f /etc/ssh/ssh_host_rsa_key -N ''; then
echo done.
else
echo failed.
fi
fi
if [ ! -f /etc/ssh/ssh_host_key ]; then
echo -n "ssh-keygen: generating new RSA1 host key... "
if /usr/bin/ssh-keygen -q -t rsa1 -f /etc/ssh/ssh_host_key -N ''; then
echo done.
else
echo failed.
fi
fi
# end
Then, IIRC
# etc-update sshd add default
# /etc/init.d/sshd start
(But I haven't booted into Gentoo for a while ...)
> And, dare I say it, anybody use 'webmin' on a Gentoo box?
How dare you! :)
--
<[EMAIL PROTECTED]>
_______________________________________________
Eug-LUG mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug