Reset SSH Keys

From KlavoWiki
Revision as of 04:39, 17 March 2018 by David (Sọ̀rọ̀ | contribs) (Created page with "To reset the SSK Keys of the Debian server. <pre> vi /usr/sbin/ssh-keys-reset </pre> <pre>#!/bin/bash rm -f /etc/ssh/ssh_host_* dpkg-reconfigure openssh-server </pre> Categ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

To reset the SSK Keys of the Debian server.

vi /usr/sbin/ssh-keys-reset
#!/bin/bash
rm -f /etc/ssh/ssh_host_*
dpkg-reconfigure openssh-server