Re: delete /etc/ssh/* bymistak, how recover?
David Paleino <firstname.lastname@example.org> writes:
> mond <email@example.com> ha scritto:
>> To fix some weird problem of ssh, I, using debian lenny, deleted /etc/
>> ssh* by mistake. Is it possible to recover it?
>> I tried $ sudo apt-get install ssh.
> apt-get --reinstall install ssh
This will not recreate missing conffiles (yes, this is a feature of
dpkg, not a bug ;-)). I would try
dpkg --force-confmiss -i /var/cache/apt/archives/*ssh*.deb
(assuming that the files are still there, apt-get download them
first if necessary).