mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 14:56:22 +00:00
Merge branch 'deploy-rsync' into panel.sutty.nl
This commit is contained in:
commit
e427d521c6
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ class DeployRsync < Deploy
|
||||||
user, host = user_host
|
user, host = user_host
|
||||||
ssh_available = false
|
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?
|
if values[:host_keys].blank?
|
||||||
# Guardar las llaves que se encontraron en la primera conexión
|
# Guardar las llaves que se encontraron en la primera conexión
|
||||||
values[:host_keys] = ssh.transport.host_keys.map do |host_key|
|
values[:host_keys] = ssh.transport.host_keys.map do |host_key|
|
||||||
|
|
Loading…
Reference in a new issue