From d6449a232e6bd9eb46132c7403a05ac1a756b619 Mon Sep 17 00:00:00 2001 From: ishaan Date: Sun, 19 Jul 2026 14:21:13 +0530 Subject: feat: discover SSH keys from remote services (eg. bob@github fetches bob's keys from GitHub) --- cmd/eno/cobra_ssh.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cmd/eno/cobra_ssh.go') diff --git a/cmd/eno/cobra_ssh.go b/cmd/eno/cobra_ssh.go index f219cfb..e923a1d 100644 --- a/cmd/eno/cobra_ssh.go +++ b/cmd/eno/cobra_ssh.go @@ -151,17 +151,17 @@ var sshInitCmd = &cobra.Command{ os.Exit(1) } - if err := config.Update("DefaultSSHPrivPath", privateKeyPath); err != nil { + if err := config.Set("DEFAULT_SSH_PRIV", privateKeyPath); err != nil { clear(privKeyBytes) cmd.PrintErrln(err) os.Exit(1) } - if err := config.Update("DefaultSSHPubPath", publicKeyPath); err != nil { + if err := config.Set("DEFAULT_SSH_PUB", publicKeyPath); err != nil { clear(privKeyBytes) cmd.PrintErrln(err) os.Exit(1) } - if err := config.Update("SSHInitialized", true); err != nil { + if err := config.Set("SSH_INIT", "true"); err != nil { clear(privKeyBytes) cmd.PrintErrln(err) os.Exit(1) -- cgit v1.3