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

2007-10-01 Thread Douglas A. Tutty
On Mon, Oct 01, 2007 at 01:38:14PM -0700, mond wrote:
> 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.
> 
> Did not work?Any clue?Thanks

Sure.  From you /etc/ backup.

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



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

2007-10-01 Thread mond
On Oct 1, 4:10 pm, David Paleino <[EMAIL PROTECTED]> wrote:
> Il giorno Mon, 01 Oct 2007 13:38:14 -0700
> mond <[EMAIL PROTECTED]> 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
>
> ?
>
> Kindly,
> David
>
> --
>  . ''`.  Debian maintainer |http://snipurl.com/qa_page/
>  : :'  :  Linuxer #334216  |  http://www.hanskalabs.net/
>  `. `'`GPG: 1392B174   |http://www.debianizzati.org/
>`-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
>
>  signature.asc
> 1KDownload

thank you. Problem solved


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



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

2007-10-01 Thread mond
On Oct 1, 4:20 pm, Sven Joachim <[EMAIL PROTECTED]> wrote:
> David Paleino <[EMAIL PROTECTED]> writes:
> > mond <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



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

2007-10-01 Thread Sven Joachim
David Paleino <[EMAIL PROTECTED]> writes:

> mond <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



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

2007-10-01 Thread David Paleino
Il giorno Mon, 01 Oct 2007 13:38:14 -0700
mond <[EMAIL PROTECTED]> 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

?

Kindly,
David

-- 
 . ''`.  Debian maintainer | http://snipurl.com/qa_page/
 : :'  :  Linuxer #334216  |  http://www.hanskalabs.net/
 `. `'`GPG: 1392B174   | http://www.debianizzati.org/
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174


signature.asc
Description: PGP signature


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

2007-10-01 Thread mond
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.

Did not work?Any clue?Thanks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]