2002-06-26 06:01:02 +02:00
|
|
|
bin/slogin
|
1999-11-08 07:20:54 +01:00
|
|
|
bin/scp
|
2001-06-08 10:03:26 +02:00
|
|
|
bin/sftp
|
1999-11-08 07:20:54 +01:00
|
|
|
bin/ssh
|
|
|
|
bin/ssh-add
|
|
|
|
bin/ssh-agent
|
|
|
|
bin/ssh-keygen
|
2001-06-08 10:03:26 +02:00
|
|
|
bin/ssh-keyscan
|
2002-03-12 18:50:42 +01:00
|
|
|
etc/rc.d/sshd.sh.sample
|
2002-06-24 23:13:06 +02:00
|
|
|
etc/ssh/moduli
|
|
|
|
@exec [ -f %D/etc/ssh_config ] && [ ! -f %D/etc/ssh/ssh_config ] && ln %D/etc/ssh_config %D/etc/ssh/ssh_config
|
|
|
|
@exec [ -f %D/etc/sshd_config ] && [ ! -f %D/etc/ssh/sshd_config ] && ln %D/etc/sshd_config %D/etc/ssh/sshd_config
|
|
|
|
@exec [ -f %D/etc/ssh_host_key ] && [ ! -f %D/etc/ssh/ssh_host_key ] && ln %D/etc/ssh_host_key %D/etc/ssh/ssh_host_key
|
|
|
|
@exec [ -f %D/etc/ssh_host_key.pub ] && [ ! -f %D/etc/ssh/ssh_host_key.pub ] && ln %D/etc/ssh_host_key.pub %D/etc/ssh/ssh_host_key.pub
|
|
|
|
@exec [ -f %D/etc/ssh_host_rsa_key ] && [ ! -f %D/etc/ssh/ssh_host_rsa_key ] && ln %D/etc/ssh_host_rsa_key %D/etc/ssh/ssh_host_rsa_key
|
|
|
|
@exec [ -f %D/etc/ssh_host_rsa_key.pub ] && [ ! -f %D/etc/ssh/ssh_host_rsa_key.pub ] && ln %D/etc/ssh_host_rsa_key.pub %D/etc/ssh/ssh_host_rsa_key.pub
|
|
|
|
@exec [ -f %D/etc/ssh_host_dsa_key ] && [ ! -f %D/etc/ssh/ssh_host_dsa_key ] && ln %D/etc/ssh_host_dsa_key %D/etc/ssh/ssh_host_dsa_key
|
|
|
|
@exec [ -f %D/etc/ssh_host_dsa_key.pub ] && [ ! -f %D/etc/ssh/ssh_host_dsa_key.pub ] && ln %D/etc/ssh_host_dsa_key.pub %D/etc/ssh/ssh_host_dsa_key.pub
|
|
|
|
@unexec if cmp -s %D/etc/ssh/ssh_config %D/etc/ssh/ssh_config-dist; then rm -f %D/etc/ssh/ssh_config; fi
|
|
|
|
@unexec if cmp -s %D/etc/ssh/sshd_config %D/etc/ssh/sshd_config-dist; then rm -f %D/etc/ssh/sshd_config; fi
|
|
|
|
etc/ssh/ssh_config-dist
|
|
|
|
etc/ssh/sshd_config-dist
|
|
|
|
@exec [ ! -f %D/etc/ssh/ssh_config ] && cp %D/etc/ssh/ssh_config-dist %D/etc/ssh/ssh_config
|
|
|
|
@exec [ ! -f %D/etc/ssh/sshd_config ] && cp %D/etc/ssh/sshd_config-dist %D/etc/ssh/sshd_config
|
|
|
|
@dirrm etc/ssh
|
2002-06-26 06:01:02 +02:00
|
|
|
sbin/sshd
|
2001-06-08 10:03:26 +02:00
|
|
|
libexec/sftp-server
|
2002-06-22 14:31:18 +02:00
|
|
|
libexec/ssh-keysign
|
2001-10-03 15:15:16 +02:00
|
|
|
libdata/ssh/Ssh.bin
|
|
|
|
@dirrm libdata/ssh
|
2002-06-24 23:13:06 +02:00
|
|
|
@exec if [ ! -f %D/etc/ssh/ssh_host_key ]; then echo ">> Generating a secret RSA1 host key."; %D/bin/ssh-keygen -t rsa1 -N "" -f %D/etc/ssh/ssh_host_key; fi
|
|
|
|
@exec if [ ! -f %D/etc/ssh/ssh_host_rsa_key ]; then echo ">> Generating a secret RSA host key."; %D/bin/ssh-keygen -t rsa -N "" -f %D/etc/ssh/ssh_host_rsa_key; fi
|
|
|
|
@exec if [ ! -f %D/etc/ssh/ssh_host_dsa_key ]; then echo ">> Generating a secret DSA host key."; %D/bin/ssh-keygen -t dsa -N "" -f %D/etc/ssh/ssh_host_dsa_key; fi
|
2002-06-26 06:01:02 +02:00
|
|
|
@exec mkdir -p %D/empty
|
2002-06-25 01:17:03 +02:00
|
|
|
@dirrm empty
|
|
|
|
@exec if ! pw groupshow sshd 2>/dev/null; then pw groupadd sshd -g 22; fi
|
2002-06-26 06:01:02 +02:00
|
|
|
@exec if ! pw usershow sshd 2>/dev/null; then pw useradd sshd -g sshd -u 22 -h - -d %%EMPTYDIR%% -s /nonexistent -c "sshd privilege separation"; fi
|