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

Add chezmoi ssh command to ssh into a machine with your personal configuration #3676

Open
twpayne opened this issue Apr 1, 2024 · 0 comments
Labels
enhancement New feature or request patience Patience required, there is no date for this being fixed

Comments

@twpayne
Copy link
Owner

twpayne commented Apr 1, 2024

Is your feature request related to a problem? Please describe.

I'm always frustrated when I log into a machine that I've never logged into before and don't have my personal environment set up, even if that machine is shared with other people.

Describe the solution you'd like

I would like to run

$ chezmoi ssh somemachine.com

and SSH into somemachine.com with my personal setup activated on somemachine.com. For example, I should be in my favorite shell with my personal config files active.

Describe alternatives you've considered

#1410 describes installing dotfiles remotely over ssh.

#3675 describes wanting your own configuration on a machine shared with other people.

Additional context

This is a stretch goal for chezmoi. Go has excellent support for ssh, and this is mostly possible by setting environment variables like $XDG_CONFIG_HOME for the ssh session.

It's technically possible, but please don't expect anything soon.

cc @old-pigeon

@twpayne twpayne added enhancement New feature or request patience Patience required, there is no date for this being fixed labels Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request patience Patience required, there is no date for this being fixed
Projects
None yet
Development

No branches or pull requests

1 participant