From 693b409eaf8cd7b7fa06b7520f4dcc17c47bf934 Mon Sep 17 00:00:00 2001 From: Plamen Bardarov Date: Wed, 15 Apr 2026 13:24:14 +0300 Subject: [PATCH] Increase diego-ssh RSA host key from 2048 to 4096 bits Strengthen the SSH host key used by diego-sshd in LRPs by changing the default RSA key size from 2048 to 4096 bits. --- lib/cloud_controller/diego/ssh_key.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cloud_controller/diego/ssh_key.rb b/lib/cloud_controller/diego/ssh_key.rb index e85af60670..991b80f337 100644 --- a/lib/cloud_controller/diego/ssh_key.rb +++ b/lib/cloud_controller/diego/ssh_key.rb @@ -8,7 +8,7 @@ module VCAP module CloudController module Diego class SSHKey - def initialize(bits=2048) + def initialize(bits=4096) @bits = bits end