summaryrefslogtreecommitdiffhomepage
path: root/ssh/tailssh/tailssh_test.go
diff options
context:
space:
mode:
authorKris Brandow <kris@tailscale.com>2022-12-05 09:54:53 -0500
committerKris Brandow <kris.brandow@gmail.com>2023-02-02 20:03:03 -0500
commit701f320bd7c47abd82e48c7dadb3c06523f2f2be (patch)
tree8febead085ba1becbd59ab847009aa97a5d2e030 /ssh/tailssh/tailssh_test.go
parent2dc3dc21a8076e350cb1cee7e03d6e21aaa6f7a3 (diff)
downloadtailscale-skriptble/ssh-recording-persist.tar.xz
tailscale-skriptble/ssh-recording-persist.zip
ssh: add session hauling implementationskriptble/ssh-recording-persist
Add SSH Session Hauling implementation. Updates #7069 Signed-off-by: Kris Brandow <kris@tailscale.com>
Diffstat (limited to 'ssh/tailssh/tailssh_test.go')
-rw-r--r--ssh/tailssh/tailssh_test.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/ssh/tailssh/tailssh_test.go b/ssh/tailssh/tailssh_test.go
index bdd237376..a98954b15 100644
--- a/ssh/tailssh/tailssh_test.go
+++ b/ssh/tailssh/tailssh_test.go
@@ -305,6 +305,14 @@ func (ts *localState) TailscaleVarRoot() string {
return ""
}
+func (ts *localState) Dialer() *tsdial.Dialer {
+ return nil
+}
+
+func (ts *localState) PeerAPIBase(tailcfg.StableNodeID) (string, error) {
+ return "", nil
+}
+
func newSSHRule(action *tailcfg.SSHAction) *tailcfg.SSHRule {
return &tailcfg.SSHRule{
SSHUsers: map[string]string{