Hello,

sorry for long delay - looks like it's working. i delete key and key.pub
files.

Thank you!




Pagarbiai
Mindaugas Milinavičius
UAB STARNITA
Direktorius
http://www.clustspace.com
LT: +37068882880
RU: +79199993933

Tomorrow's possibilities today
<http://www.clustspace.com/>

   - 1 core CPU, 512MB RAM, 20GB (€ 5.00)
   - 1 core CPU, 1GB RAM, 30GB (€ 10.00)
   - 2 core CPU, 2GB RAM, 40GB (€ 20.00)
   - 2 core CPU, 4GB RAM, 60GB (€ 40.00)
   - 4 core CPU, 8GB RAM, 80GB (€ 80.00)


On Mon, Aug 15, 2016 at 11:10 AM, Stephan Seitz <
[email protected]> wrote:

> Hi,
>
> you should remove /etc/ssh/*{_key,_key.pub} as one of the final steps
> of template creation.
> I'm currently not sure if debian's openssh-server init automatically
> regenerates the server keys. If not a (to be written) "first-boot' init
> should call dpkg-reconfigure openssh-server to get the keys
> regenerated.
>
> Anyway, some housekeeping tasks (like removing .bash_history,
> /var/log/* ...) should be done anyway during template creation.
>
> Here's what we do after template creation/update:
>
> https://github.com/HeinleinSupport/acs-template-scripts/blob/master/deb
> ian8/root/newtemplate.sh
>
>
>
> Am Sonntag, den 14.08.2016, 22:40 +0300 schrieb Mindaugas Milinavičius:
> > Hello,
> >
> > does anyone create template for Debian 8.5?
> >
> > I can create, but after server is booted, do not working SSH becau
> > se of
> > invalid rsa key.
> >
> > Hostname changed, password also changed.
> >
> > The solution is onlye to reinstall openssh-server to get started, but
> > how
> > to do it on boot from template?
> >
> > Does anyone have solution?
>

Reply via email to