diff options
author | Colin Watson <cjwatson@debian.org> | 2018-08-24 12:49:36 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2018-08-24 12:49:36 +0100 |
commit | e6547182a54f0f268ee36e7c99319eeddffbaff2 (patch) | |
tree | 417527229ad3f3764ba71ea383f478a168895087 /contrib/aix | |
parent | ed6ae9c1a014a08ff5db3d768f01f2e427eeb476 (diff) | |
parent | 71508e06fab14bc415a79a08f5535ad7bffa93d9 (diff) |
Import openssh_7.8p1.orig.tar.gz
Diffstat (limited to 'contrib/aix')
-rwxr-xr-x | contrib/aix/buildbff.sh | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/contrib/aix/buildbff.sh b/contrib/aix/buildbff.sh index 00b384dc7..55113d9d3 100755 --- a/contrib/aix/buildbff.sh +++ b/contrib/aix/buildbff.sh | |||
@@ -240,21 +240,7 @@ echo | |||
240 | 240 | ||
241 | # Generate keys unless they already exist | 241 | # Generate keys unless they already exist |
242 | echo Creating host keys if required. | 242 | echo Creating host keys if required. |
243 | if [ -f "$sysconfdir/ssh_host_key" ] ; then | 243 | $bindir/ssh-keygen -A |
244 | echo "$sysconfdir/ssh_host_key already exists, skipping." | ||
245 | else | ||
246 | $bindir/ssh-keygen -t rsa1 -f $sysconfdir/ssh_host_key -N "" | ||
247 | fi | ||
248 | if [ -f $sysconfdir/ssh_host_dsa_key ] ; then | ||
249 | echo "$sysconfdir/ssh_host_dsa_key already exists, skipping." | ||
250 | else | ||
251 | $bindir/ssh-keygen -t dsa -f $sysconfdir/ssh_host_dsa_key -N "" | ||
252 | fi | ||
253 | if [ -f $sysconfdir/ssh_host_rsa_key ] ; then | ||
254 | echo "$sysconfdir/ssh_host_rsa_key already exists, skipping." | ||
255 | else | ||
256 | $bindir/ssh-keygen -t rsa -f $sysconfdir/ssh_host_rsa_key -N "" | ||
257 | fi | ||
258 | echo | 244 | echo |
259 | 245 | ||
260 | # Set startup command depending on SRC support | 246 | # Set startup command depending on SRC support |