mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
efec8b8ef2
PR: 18711 Submitted by: Trevor Johnson <trevor@jpj.net>
14 lines
636 B
Plaintext
14 lines
636 B
Plaintext
bin/scp
|
|
bin/slogin
|
|
bin/ssh
|
|
bin/ssh-add
|
|
bin/ssh-agent
|
|
bin/ssh-keygen
|
|
etc/rc.d/sshd.sh
|
|
etc/ssh_config
|
|
etc/sshd_config
|
|
sbin/sshd
|
|
@exec if [ ! -f %D/etc/ssh_host_key ]; then echo ">> Generating a secret RSA host key."; %D/bin/ssh-keygen -N "" -f %D/etc/ssh_host_key; fi
|
|
@exec if [ ! -f %D/etc/ssh_host_dsa_key ]; then echo ">> Generating a secret DSA host key."; %D/bin/ssh-keygen -d -N "" -f %D/etc/ssh_host_dsa_key; fi
|
|
@exec if [ ! -x %D/etc/rc.d/sshd.sh ]; then echo "#!/bin/sh" > %D/etc/rc.d/sshd.sh && exec echo "[ -x %D/sbin/sshd ] && %D/sbin/sshd && echo -n ' sshd'" >> %D/etc/rc.d/sshd.sh && exec chmod 0555 %D/etc/rc.d/sshd.sh; fi
|