Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0df3b76 commit 0d97267Copy full SHA for 0d97267
cmd/tailscale/cli/ssh.go
@@ -22,6 +22,7 @@ import (
22
"tailscale.com/envknob"
23
"tailscale.com/ipn/ipnstate"
24
"tailscale.com/net/tsaddr"
25
+ "tailscale.com/version"
26
)
27
28
var sshCmd = &ffcli.Command{
@@ -32,6 +33,9 @@ var sshCmd = &ffcli.Command{
32
33
}
34
35
func runSSH(ctx context.Context, args []string) error {
36
+ if runtime.GOOS == "darwin" && version.IsSandboxedMacOS() && !envknob.UseWIPCode() {
37
+ return errors.New("The 'tailscale ssh' subcommand is not available on sandboxed macOS builds.\nUse the regular 'ssh' client instead.")
38
+ }
39
if len(args) == 0 {
40
return errors.New("usage: ssh [user@]<host>")
41
0 commit comments