(Grav GitSync) Automatic Commit from RealStickman
This commit is contained in:
parent
f6bf3003cd
commit
de6c4c445c
13
pages/04.other/02.ssh/02.regenerate-ssh-keys/default.en.md
Normal file
13
pages/04.other/02.ssh/02.regenerate-ssh-keys/default.en.md
Normal file
@ -0,0 +1,13 @@
|
||||
---
|
||||
title: 'Regenerate SSH Keys'
|
||||
---
|
||||
|
||||
## Remove from known_hosts
|
||||
`$ ssh-keygen -R (server name)`
|
||||
|
||||
## Debian
|
||||
Remove the old Hostkeys
|
||||
`# rm -v /etc/ssh/ssh_host_*`
|
||||
|
||||
Generate new Hostkeys
|
||||
`# dpkg-reconfigure openssh-server`
|
Loading…
Reference in New Issue
Block a user