Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Update ssh cli api error messages

Tuan Dangb4b417658fb1
diff --git a/cli/packages/cmd/ssh.go b/cli/packages/cmd/ssh.go
index d611e3b8d2..b97d6572f7 100644
--- a/cli/packages/cmd/ssh.go
+++ b/cli/packages/cmd/ssh.go
@@ -261,7 +261,7 @@ func issueCredentials(cmd *cobra.Command, args []string) {
})
if err != nil {
- util.HandleError(err, "To issue SSH credentials")
+ util.HandleError(err, "Failed to issue SSH credentials")
}
// If signedKeyPath wasn't set in the directory scenario, set it now
@@ -488,7 +488,7 @@ func signKey(cmd *cobra.Command, args []string) {
})
if err != nil {
- util.HandleError(err, "To sign a SSH public key")
+ util.HandleError(err, "Failed to sign SSH public key")
}
err = writeToFile(signedKeyPath, creds.SignedKey, 0644)