152bebfc5c
- Features: Possible use of sftp/sftp-server with older FreeBSD releases. Use a newer version independently from the Base system. Easier to test and fix possible security bugs. - Bugs: build of pam_ssm.so isn't be supported any more Any file named "cookie" can be deleted by this and any older "sshd" with X11 Forwarding.
16 lines
681 B
Text
16 lines
681 B
Text
bin/scp
|
|
bin/sftp
|
|
bin/slogin
|
|
bin/ssh
|
|
bin/ssh-add
|
|
bin/ssh-agent
|
|
bin/ssh-keygen
|
|
bin/ssh-keyscan
|
|
etc/rc.d/sshd.sh
|
|
etc/ssh_config
|
|
etc/sshd_config
|
|
sbin/sshd
|
|
libexec/sftp-server
|
|
@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
|