browsh-org / browsh-org/baas

Allow server creation with no SSH key pair

Open
#2 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
HCL
Stars
19
Forks
5
PR merge metrics
No merged PRs in 30d

Description

I may be out to lunch on this, but [it looks like](https://github.com/browsh-org/baas/blob/8b4ffd37eabdc397bf76f710ad73cee3f211d508/ssh-server/ssh-server.go#L100) we currently require an SSH keypair to start our ssh-server. Guessing we mount the key into our container on startup? In Browsh's issue [#188](https://github.com/browsh-org/browsh/issues/188), it could help this user to simply be able to run the image with no keypair setup. Is this possible? It looks like gliderlabs SSH library supports it.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in ssh-server/ssh-server.go around line 100 and inspect how the SSH keypair is required when the server starts. Check the linked gliderlabs SSH library behavior for running without a keypair. Done means the image can start an ssh-server without keypair setup while preserving the existing keyed behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.