Merge pull request #2531 from BradErz/fix-issues-2530

Added -A flag to ssh connection
This commit is contained in:
Justin Santa Barbara 2017-05-10 08:48:12 -07:00 committed by GitHub
commit 201e6c883b
1 changed files with 2 additions and 1 deletions

View File

@ -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")
}