User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

howtos:generate_new_server_keys [d/m/Y H:i]
howtos:generate_new_server_keys [d/m/Y H:i] (current)
Line 1: Line 1:
 +This is Ubuntu/​Debian centric so it may not work for others:
 +sudo rm /​etc/​ssh/​ssh_host_{dsa,​rsa}_key*
 +sudo dpkg-reconfigure -plow openssh-server
 +Or the old fashion way:
 +<​code> ​
 + ​ssh-keygen -b 4096 -t rsa -f ssh_host_rsa_key
howtos/generate_new_server_keys.txt · Last modified: d/m/Y H:i (external edit)