recreating /etc/ssh key files?
sktsee
sktsee at tulsaconnect.com
Mon Jul 30 17:37:58 UTC 2007
On Tue, 31 Jul 2007 01:21:37 +0900, Tomoki Taniguchi wrote:
> when i installed the openssh-server package,
> the install process automatically created the
> key files in the /etc/ssh directory.
>
> I want to recreate those /etc/ssh keyfiles.
> is there a way to run the original script again?
> any clues as to where that script would be located?
>
> TIA,
> Tomoki
"sudo apt-get install --reinstall openssh-server" would do it, I guess.
Or you might try "sudo dpkg-reconfigure openssh-server" if its managed by
debconf. You can find the package configuration scripts located in
/var/lib/dpkg/info, though I don't know how much success you will have
running them manually.
--
sktsee
--
sktsee
More information about the ubuntu-users
mailing list