feat: initial webssh tooling

This commit is contained in:
Aarnav Tale 2025-05-30 19:35:47 -04:00
parent f6d8ad25e1
commit 7dfcbef774
No known key found for this signature in database
16 changed files with 792 additions and 83 deletions

View file

@ -1,9 +1,12 @@
package main
import (
"os"
_ "github.com/joho/godotenv/autoload"
"github.com/tale/headplane/agent/internal/config"
"github.com/tale/headplane/agent/internal/hpagent"
"github.com/tale/headplane/agent/internal/sshutil"
"github.com/tale/headplane/agent/internal/tsnet"
"github.com/tale/headplane/agent/internal/util"
)
@ -31,5 +34,6 @@ func main() {
ID: agent.ID,
})
sshutil.StartInputReader(os.NewFile(3, "sshin"))
hpagent.FollowMaster(agent)
}