User Tools

Site Tools


howtos:generate_new_server_keys
no way to compare when less than two revisions

Differences

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


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