Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[devbox] Add client code for devbox cloud #310

Merged
merged 3 commits into from
Nov 22, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
One more
  • Loading branch information
loreto committed Nov 22, 2022
commit e3a1b6f57a18954d4d53eb823cbab92ee9db5fcd
4 changes: 2 additions & 2 deletions cloud/sshconfig/sshconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func writeConfigFile(dir string) (string, error) {
return filePath, errors.WithStack(err)
}

func writeIncludeInGlobalConfig(home string, devboxSshConfigFilePath string) error {
func writeIncludeInGlobalConfig(home string, devboxSSHConfigFilePath string) error {

configFilePath := filepath.Join(home, ".ssh/config")

Expand Down Expand Up @@ -116,7 +116,7 @@ func writeIncludeInGlobalConfig(home string, devboxSshConfigFilePath string) err
}

// Set the Include directive
configContents = fmt.Sprintf("Include %s\n\n%s", devboxSshConfigFilePath, configContents)
configContents = fmt.Sprintf("Include %s\n\n%s", devboxSSHConfigFilePath, configContents)
err = os.WriteFile(configFilePath, []byte(configContents), 0644)
if err != nil {
return errors.WithStack(err)
Expand Down