Skip to content

Comments

cli: add new --add-ssh-key functionality#166

Merged
sondove merged 3 commits intonovem-code:mainfrom
sondove:sen/key-support
Jan 22, 2026
Merged

cli: add new --add-ssh-key functionality#166
sondove merged 3 commits intonovem-code:mainfrom
sondove:sen/key-support

Conversation

@sondove
Copy link
Contributor

@sondove sondove commented Jan 22, 2026

Adding new SSH keys to novem can be a bit painful, this simplifies the task

Fixes: #165

image

Adding new SSH keys to novem can be a bit painful, this simplifies the
task

Fixes: novem-code#165
@sondove sondove requested review from bjornars and myme January 22, 2026 10:38
- Explicit argument: --add-ssh-key my-key → uses my-key as key_id
- SSH key comment: If key has user@host.com comment → uses user-host-com as key_id, user@host.com as name
- Fallback: No argument, no comment → uses hostname for both
Copy link
Contributor

@bjornars bjornars left a comment

Choose a reason for hiding this comment

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

🚀 🐳

@bjornars
Copy link
Contributor

image

@sondove sondove merged commit e3d0262 into novem-code:main Jan 22, 2026
4 checks passed
@sondove sondove deleted the sen/key-support branch January 27, 2026 18:45
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.

cli: include --add-ssh-key utility function

2 participants