Note that --debug doesn't give anything useful $ juju ssh --debug 0 10:37:50 INFO juju.cmd supercommand.go:56 running juju [2.9.33 35a17f49f0fd6225211eaa9c70bb2223832c1db5 gc go1.18.3] 10:37:50 DEBUG juju.cmd supercommand.go:57 args: []string{"juju", "ssh", "--debug", "0"} 10:37:50 INFO juju.juju api.go:78 connecting to API addresses: [10.5.24.123:17070] 10:37:50 DEBUG juju.api apiclient.go:1153 successfully dialed "wss://10.5.24.123:17070/model/eb001ecd-2ba8-4681-8a58-b0776403b12f/api" 10:37:50 INFO juju.api apiclient.go:688 connection established to "wss://10.5.24.123:17070/model/eb001ecd-2ba8-4681-8a58-b0776403b12f/api" 10:37:50 DEBUG juju.cmd.juju.commands ssh_machine.go:338 proxy-ssh is false 10:37:55 DEBUG juju.api monitor.go:35 RPC connection died ERROR machine 0 not found
Note that --debug doesn't give anything useful 5211eaa9c70bb22 23832c1db5 gc go1.18.3] 10.5.24. 123:17070/ model/eb001ecd- 2ba8-4681- 8a58-b0776403b1 2f/api" 10.5.24. 123:17070/ model/eb001ecd- 2ba8-4681- 8a58-b0776403b1 2f/api" juju.commands ssh_machine.go:338 proxy-ssh is false
$ juju ssh --debug 0
10:37:50 INFO juju.cmd supercommand.go:56 running juju [2.9.33 35a17f49f0fd622
10:37:50 DEBUG juju.cmd supercommand.go:57 args: []string{"juju", "ssh", "--debug", "0"}
10:37:50 INFO juju.juju api.go:78 connecting to API addresses: [10.5.24.123:17070]
10:37:50 DEBUG juju.api apiclient.go:1153 successfully dialed "wss://
10:37:50 INFO juju.api apiclient.go:688 connection established to "wss://
10:37:50 DEBUG juju.cmd.
10:37:55 DEBUG juju.api monitor.go:35 RPC connection died
ERROR machine 0 not found