From 4c2bcdd3e740f07a12856008f8f7e97fc561e635 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20=C5=A0trauch?= Date: Fri, 14 Apr 2023 19:19:45 +0200 Subject: [PATCH] Fix SSH deploy keyType --- containers/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/containers/types.go b/containers/types.go index 80c45a6..0b88485 100644 --- a/containers/types.go +++ b/containers/types.go @@ -248,7 +248,7 @@ func (c *Container) GenerateDeploySSHKeys() (bool, error) { return false, err } - _, err = driver.Exec(c.App.Name, []string{"ssh-keygen", "-f", "/srv/.ssh/id_" + keyType, "-P", ""}, "", []string{}, true) + _, err = driver.Exec(c.App.Name, []string{"ssh-keygen", "-t", keyType, "-f", "/srv/.ssh/id_" + keyType, "-P", ""}, "", []string{}, true) if err != nil { return false, err }