Skip to content

Category Archives: Daemons

Regenerating an SSH Host Key

26-Feb-10

Use ssh-keygen, just like you would with an account’s key pair:
# ssh-keygen -f /etc/ssh/ssh_host_rsa_key -N ” -t rsa
# ssh-keygen -f /etc/ssh/ssh_host_dsa_key -N ” -t dsa

Flush Postfix’s Mail Queue

29-Apr-09

Sendmail has:

sendmail -q

The Postfix equivalent is:

postqueue -f