Improvement suggestion for ADDING A BASTION HOST TO OUR CLUSTER documentation #9751
Labels
area/documentation
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
hacktoberfest
Issues that are good to work on, or people are working on, for hacktoberfest
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
1. What
kops
version are you running? The commandkops version
, will displaythis information.
Version 1.18.0
2. What Kubernetes version are you running?
kubectl version
will print theversion if a cluster is running or provide the Kubernetes version specified as
a
kops
flag.Client Version: version.Info{Major:"1", Minor:"16+", GitVersion:"v1.16.6-beta.0", GitCommit:"e7f962ba86f4ce7033828210ca3556393c377bcc", GitTreeState:"clean", BuildDate:"2020-01-15T08:26:26Z", GoVersion:"go1.13.5", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.6", GitCommit:"dff82dc0de47299ab66c83c626e08b245ab19037", GitTreeState:"clean", BuildDate:"2020-07-15T16:51:04Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
3. What cloud provider are you using?
AWS
4. What commands did you run? What is the simplest way to reproduce this issue?
This is a documentation issue on https://github.com/kubernetes/kops/blob/master/docs/examples/kops-tests-private-net-bastion-host.md#adding-a-bastion-host-to-our-cluster
5. What happened after the commands executed?
No commands executed as this is a doc issue
6. What did you expect to happen?
The doc provides example to ssh assuming the user = admin
Which is not always the case because if it's an ubuntu image underlying then it will be ubuntu user. That makes sense and is obvious.
However, if we don't explicitly mention that please use the appropriate user for ssh then a reader may think:
It's not a big issue but just adding that line of caution will help if somebody runs into this trap.
The problem is when I ssh using admin@LB-bastion, it doesn't say invalid user - it gives an error
admin@LB-bastion: Permission denied (publickey).
which unfortunately is misleading
The text was updated successfully, but these errors were encountered: