mirror of https://github.com/kubernetes/kops.git
Merge pull request #2531 from BradErz/fix-issues-2530
Added -A flag to ssh connection
This commit is contained in:
commit
201e6c883b
|
@ -286,11 +286,12 @@ func RunUpdateCluster(f *util.Factory, clusterName string, out io.Writer, c *Upd
|
|||
} else {
|
||||
bastionPublicName := findBastionPublicName(cluster)
|
||||
if bastionPublicName != "" {
|
||||
fmt.Fprintf(sb, " * ssh to the bastion: ssh -i ~/.ssh/id_rsa admin@%s\n", bastionPublicName)
|
||||
fmt.Fprintf(sb, " * ssh to the bastion: ssh -A -i ~/.ssh/id_rsa admin@%s\n", bastionPublicName)
|
||||
} else {
|
||||
fmt.Fprintf(sb, " * to ssh to the bastion, you probably want to configure a bastionPublicName")
|
||||
}
|
||||
}
|
||||
fmt.Fprintf(sb, "The admin user is specific to Debian. If not using Debian please use the appropriate user based on your OS.\n")
|
||||
fmt.Fprintf(sb, " * read about installing addons: https://github.com/kubernetes/kops/blob/master/docs/addons.md\n")
|
||||
fmt.Fprintf(sb, "\n")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue