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

Error when username has backslash in it (like domain users) #226

Open
dvonessen opened this issue Dec 7, 2023 · 0 comments
Open

Error when username has backslash in it (like domain users) #226

dvonessen opened this issue Dec 7, 2023 · 0 comments

Comments

@dvonessen
Copy link

Hi,
my Username contains a backslash and its first letter after it is a litteral t.
While rolling-out my nix configuration with Home Manager i get following error:

for identity in /home/domain\tusername/.ssh/agenix@macdb.vonessen.eu /home/domain\tusername/.ssh/agenix@pandb /home/domain\tusername/.ssh/agenix@game.vonessen.eu; do
^-- SC1012 (warning): \t is just literal 't' here. For tab, use "$(printf '\t')" instead.
                                                                           ^-- SC1012 (warning): \t is just literal 't' here. For tab, use "$(printf '\t')" instead.
                                                                                                                 ^-- SC1012 (warning): \t is just literal 't' here. For tab, use "$(printf '\t')" instead.

I guess this is a escaping issue but I do not have any clue how to solve this.
Maybe I should also mention that I use config.home.homeDirectory to point to the age.identityPaths.
But I also did try to use literal strings.

I missed, that the first letter of my username is a t.

Regards

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

No branches or pull requests

1 participant