You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: cmd/ssh.go
+12-6
Original file line number
Diff line number
Diff line change
@@ -18,12 +18,13 @@ import (
18
18
19
19
funcSSHCommand() cli.Command {
20
20
return cli.Command{
21
-
Name: "ssh",
22
-
Usage: "SSH into host",
23
-
Description: "\nFor any hosts created through Rancher using docker-machine, you can SSH into the host. This is not supported for any custom hosts. If the host is not in the current $RANCHER_ENVIRONMENT, use `--env <envID>` or `--env <envName>` to select a different environment.\n\nExample:\n\t$ rancher ssh 1h1\n\t$ rancher --env 1a5 ssh 1h5\n",
24
-
ArgsUsage: "[HOSTID HOSTNAME...]",
25
-
Action: hostSSH,
26
-
Flags: []cli.Flag{},
21
+
Name: "ssh",
22
+
Usage: "SSH into host",
23
+
Description: "\nFor any hosts created through Rancher using docker-machine, you can SSH into the host. This is not supported for any custom hosts. If the host is not in the current $RANCHER_ENVIRONMENT, use `--env <envID>` or `--env <envName>` to select a different environment.\n\nExample:\n\t$ rancher ssh 1h1\n\t$ rancher --env 1a5 ssh 1h5\n",
0 commit comments