Expose the authorized keys tmate feature (#18)
* Expose the authorized keys tmate feature Described here: https://tmate.io/ in "Access Control" The variable accepts the file content in raw format (with \n) and dumps it into a file which tmate reads * Use echo instead of printf * Add missing quote * Only setup tmate settings if debug is activated
This commit is contained in:
@@ -348,6 +348,9 @@ func registerExec(app *kingpin.Application) {
|
||||
cmd.Flag("tmate-server-ed25519-fingerprint", "tmate server rsa fingerprint").
|
||||
StringVar(&c.Tmate.ED25519)
|
||||
|
||||
cmd.Flag("tmate-authorized-keys", "tmate authorized keys").
|
||||
StringVar(&c.Tmate.AuthorizedKeys)
|
||||
|
||||
cmd.Flag("debug", "enable debug logging").
|
||||
BoolVar(&c.Debug)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user