21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-04-26 22:10:50 +02:00

Disable ecdsa-sha2 keys for SSH

This commit is contained in:
Jérémy Lecour 2022-02-13 20:25:16 +01:00 committed by Jérémy Lecour
parent e9c3067b30
commit 6086b0a48f

View file

@ -50,3 +50,6 @@ append :linked_dirs,
set :whenever_identifier, ->{ "#{fetch(:application)}_#{fetch(:stage)}" }
set :migration_role, :app
Net::SSH::Transport::Algorithms::ALGORITHMS.values.each { |algs| algs.reject! { |a| a =~ /^ecd(sa|h)-sha2/ } }
Net::SSH::KnownHosts::SUPPORTED_TYPE.reject! { |t| t =~ /^ecd(sa|h)-sha2/ }