]> hackdaworld.org Git - hdw-linux/hdw-linux.git/blob - packages/security/openssh/openssh.setup
reoved debian fixes patch
[hdw-linux/hdw-linux.git] / packages / security / openssh / openssh.setup
1 setup_block()   {
2         useradd -u 1025 -c 'sshd server' sshd || true
3         echo "creating ssh host keys ..."
4         /usr/bin/ssh-keygen -t dsa -b 1024 \
5                 -f /etc/ssh/ssh_host_dsa_key -N ""
6         /usr/bin/ssh-keygen -t rsa -b 1024 \
7                 -f /etc/ssh/ssh_host_rsa_key -N ""
8         touch /var/log/lastlog
9         echo "done. "
10                 }
11
12 uninstall_block()       {
13         userdel sshd || true
14                         }