[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: delete /etc/ssh/* bymistak, how recover?



On Oct 1, 4:20 pm, Sven Joachim <svenj...@gmx.de> wrote:
> David Paleino <d.pale...@gmail.com> writes:
> > mond <mond...@gmail.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).
>
> Regards,
>         Sven
>
> --
> To UNSUBSCRIBE, email to debian-user-REQU...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Thank you. It works. I got the files!!! Now I can try to my ssh
problem again.



Reply to: