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

fix: send ssh public key #439

Merged
merged 2 commits into from Sep 8, 2023
Merged

fix: send ssh public key #439

merged 2 commits into from Sep 8, 2023

Conversation

XavierChanth
Copy link
Member

- What I did

  • Added the namespace to the sshpublickey, since the daemon wasn't receiving it
  • Switched to using Platform.pathSeperator for generating the authorized_keys file path

- How I did it

- How to verify it

- Description for the changelog
fix: send ssh public key

var authKeys = File('${sshHomeDirectory}authorized_keys');
var authKeysFilePath = [homeDirectory, '.ssh', 'authorized_keys']
.join(Platform.pathSeparator);
var authKeys = File(authKeysFilePath);
Copy link
Member Author

Choose a reason for hiding this comment

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

It does check, lines 316/314 - 318/316 (just after this diff)

@gkc gkc merged commit 4259bb2 into trunk Sep 8, 2023
12 checks passed
@gkc gkc deleted the fix/sendSshPublicKey branch September 8, 2023 13:19
@XavierChanth XavierChanth mentioned this pull request Sep 8, 2023
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.

None yet

2 participants