mirror of https://github.com/kubernetes/kops.git
Removed forwarding key when connecting to the master
This commit is contained in:
parent
45aa3a72e8
commit
57bcec2a13
|
@ -282,7 +282,7 @@ func RunUpdateCluster(f *util.Factory, clusterName string, out io.Writer, c *Upd
|
|||
fmt.Fprintf(sb, " * validate cluster: kops validate cluster\n")
|
||||
fmt.Fprintf(sb, " * list nodes: kubectl get nodes --show-labels\n")
|
||||
if !usesBastion(instanceGroups) {
|
||||
fmt.Fprintf(sb, " * ssh to the master: ssh -A -i ~/.ssh/id_rsa admin@%s\n", cluster.Spec.MasterPublicName)
|
||||
fmt.Fprintf(sb, " * ssh to the master: ssh -i ~/.ssh/id_rsa admin@%s\n", cluster.Spec.MasterPublicName)
|
||||
} else {
|
||||
bastionPublicName := findBastionPublicName(cluster)
|
||||
if bastionPublicName != "" {
|
||||
|
|
Loading…
Reference in New Issue