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:
parent
e9c3067b30
commit
6086b0a48f
|
@ -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/ }
|
Loading…
Reference in a new issue