linux:remote_access:openssh
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:remote_access:openssh [2024/02/17 19:03] – external edit 127.0.0.1 | linux:remote_access:openssh [2024/03/12 16:33] (current) – [Regenerate Host Keys] gsys | ||
|---|---|---|---|
| Line 28: | Line 28: | ||
| systemctl restart sshd.service | systemctl restart sshd.service | ||
| </ | </ | ||
| + | |||
| + | |||
| + | ===== Regenerate Host Keys ===== | ||
| + | |||
| + | 1. Regeneate Host Keys | ||
| + | < | ||
| + | sudo rm -v / | ||
| + | sudo dpkg-reconfigure openssh-server | ||
| + | sudo systemctl restart ssh # restart service | ||
| + | </ | ||
| + | |||
| + | 2. Delete old Public Keys from clients known_hosts files | ||
linux/remote_access/openssh.1708193020.txt.gz · Last modified: by 127.0.0.1