diff --git a/tailcfg/tailcfg.go b/tailcfg/tailcfg.go index 111ae1cf9..582dfa814 100644 --- a/tailcfg/tailcfg.go +++ b/tailcfg/tailcfg.go @@ -483,6 +483,8 @@ func (hi *Hostinfo) TailscaleSSHEnabled() bool { return hi != nil && len(hi.SSH_HostKeys) > 0 } +func (v HostinfoView) TailscaleSSHEnabled() bool { return v.ж.TailscaleSSHEnabled() } + // NetInfo contains information about the host's network state. type NetInfo struct { // MappingVariesByDestIP says whether the host's NAT mappings