[pve-devel] [PATCH] added setup_rootsshconfig to create initial ssh config for user root
Stefan Priebe - Profihost AG
s.priebe at profihost.ag
Wed Oct 31 14:31:19 CET 2012
Am 31.10.2012 13:34, schrieb Dietmar Maurer:
>> +sub setup_rootsshconfig {
>> +
>> + # create ssh config if it does not exist
>> + if (! -f $rootsshconfig) {
>> + mkdir '/root/.ssh' if ( !-e '/root/.ssh' );
>> + if (my $fh = IO::File->new ($rootsshconfig,
>> O_CREAT|O_WRONLY|O_EXCL, 0640)) {
>> + # this is the default ciphers list from debian openssl0.9.8 except
>> blowfish is added as prefered
>> + print $fh "Ciphers blowfish,aes128-ctr,aes192-ctr,aes256-
>> ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc\n";
>
> isn't the blowfish cipher called 'blowfish-cbc'?
*argh* you're correct. Resend patch?
Stefan
More information about the pve-devel
mailing list