5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-23 08:56:21 +00:00

Merge branch 'deploy-rsync' into panel.sutty.nl

This commit is contained in:
f 2022-04-06 18:08:26 -03:00
commit e427d521c6

View file

@ -27,7 +27,7 @@ class DeployRsync < Deploy
user, host = user_host
ssh_available = false
Net::SSH.start(host, user, verify_host_key: tofu) do |ssh|
Net::SSH.start(host, user, verify_host_key: tofu, timeout: 5) do |ssh|
if values[:host_keys].blank?
# Guardar las llaves que se encontraron en la primera conexión
values[:host_keys] = ssh.transport.host_keys.map do |host_key|