mirror of
https://github.com/tailscale/tailscale.git
synced 2024-12-01 22:15:51 +00:00
d045462dfb
For control to fetch a list of Tailscale SSH username candidates to filter against the Tailnet's SSH policy to present some valid candidates to a user. Updates #3802 Updates tailscale/corp#7007 Change-Id: I3dce57b7a35e66891d5e5572e13ae6ef3c898498 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
22 lines
516 B
Go
22 lines
516 B
Go
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
//go:build ios || (!linux && !darwin)
|
|
|
|
package ipnlocal
|
|
|
|
import (
|
|
"errors"
|
|
|
|
"tailscale.com/tailcfg"
|
|
)
|
|
|
|
func (b *LocalBackend) getSSHHostKeyPublicStrings() []string {
|
|
return nil
|
|
}
|
|
|
|
func (b *LocalBackend) getSSHUsernames(*tailcfg.C2NSSHUsernamesRequest) (*tailcfg.C2NSSHUsernamesResponse, error) {
|
|
return nil, errors.New("not implemented")
|
|
}
|