answersLogoWhite

0


Best Answer

ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key

ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key

for the DSA and RSA host keys, respectively (it will also create a corresponding .pub file). You can of course specify another filename and then move/copy them in place.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the name of the command used to generate the ssh keys for the openssh server?
Write your answer...
Submit
Still have questions?
magnify glass
imp