]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - pkgs/openssh/ssh-keygen
Change file layout of the makefiles.
[people/amarx/ipfire-3.x.git] / pkgs / openssh / ssh-keygen
1 #! /bin/sh
2
3 # Generates keyfiles for defined algorithm
4 for algo in dsa rsa ecdsa; do
5 [ -e "/etc/ssh/ssh_host_${algo}_key" ] && continue
6 /usr/bin/ssh-keygen -q -t ${algo} -N "" -f /etc/ssh/ssh_host_${algo}_key
7 done
8