% cli root@junos>
root@junos> clear security pki local-certificate system-generated
% rm /etc/ssh/ssh_host*
% cli root@junos> config root@junos#
root@junos# deactivate system services ssh root@junos# commit
root@junos# activate system services ssh root@junos# commit and-quit root@junos>