Skip to content

Conversation

@lafabo
Copy link

@lafabo lafabo commented Dec 28, 2025

Currently sidekick init assumes the VPS uses root as the default user. However, some cloud providers (like h3llo.cloud) use different default users (e.g., user), which causes the init process to fail.

Solution
Add a --user or -u flag to sidekick init to specify the SSH username:

sidekick init --user user -e [email protected]

with interactive prompt during the init flow.

cmd/init.go Outdated
var users []string

if customUser != "" {
users = []string{customUser}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This still has to try sidekick user when you run this command after the setup just in case. What do you think?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! You're right.
Fixed

@MightyMoud
Copy link
Owner

Thanks @lafabo I think this is a good addition. Please have a look at my comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants