Home arrow FreeBSD Tips arrow Generating SSHD keys
Generating SSHD keys PDF
Monday, 05 May 2008

Sometimes if you rebuild your operating system or you've installed SSH service is useful to create SSHD keys, located in /etc/ssh

This is done by issuing:

/usr/bin/ssh-keygen -t rsa1 -N "" -f /etc/ssh/ssh_host_key

/usr/bin/ssh-keygen -t rsa -N "" -f /etc/ssh/ssh_host_rsa_key

/usr/bin/ssh-keygen -t dsa -N "" -f /etc/ssh/ssh_host_dsa_key

 
< Prev

Other BSD Systems

OpenBSD

Misc

Solaris

Polls

Best BSD firewall?