diff --git a/internal/app/wwctl/configure/ssh/main.go b/internal/app/wwctl/configure/ssh/main.go new file mode 100644 index 00000000..c4bf59c3 --- /dev/null +++ b/internal/app/wwctl/configure/ssh/main.go @@ -0,0 +1,8 @@ +package ssh + +import "github.com/spf13/cobra" + +func CobraRunE(cmd *cobra.Command, args []string) error { + + return nil +} diff --git a/internal/app/wwctl/configure/ssh/root.go b/internal/app/wwctl/configure/ssh/root.go new file mode 100644 index 00000000..69ef0f9e --- /dev/null +++ b/internal/app/wwctl/configure/ssh/root.go @@ -0,0 +1,23 @@ +package ssh + +import "github.com/spf13/cobra" + +var ( + baseCmd = &cobra.Command{ + Use: "ssh", + Short: "SSH configuration", + Long: "SSH Config", + RunE: CobraRunE, + } + SetShow bool +) + +func init() { +// baseCmd.PersistentFlags().BoolVarP(&SetShow, "show", "s", false, "Show configuration (don't update)") + +} + +// GetRootCommand returns the root cobra.Command for the application. +func GetCommand() *cobra.Command { + return baseCmd +} diff --git a/ssh_config b/ssh_config new file mode 100644 index 00000000..377c91f4 --- /dev/null +++ b/ssh_config @@ -0,0 +1,4 @@ +Host * + StrictHostKeyChecking no + UserKnownHostsFile /dev/null + LogLevel QUIET