bastion does not seems to work and returns permission denied.
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- github, helm, kubernetes
- Domain
- authentication, devops, infrastructure
Research direction
Start by comparing the chart's documented port 2222 with the reported SSH command using port 2211, then inspect values.yaml and the github-authorized-keys and bastion containers. Review the SSH pre-authentication logs and configured GitHub team, API key, and user keys. Done means the documented connection succeeds with the configured GitHub key and username.
Written by the indexing model from the issue text.
Description
I used the bastion incubator helm chart from here and deployed on K8s and tried to connect to it using below commands but getting permission denied always.
1. Get the application URL by running these commands:
export POD_NAME=$(kubectl get pods --namespace default -l "app=bastion-bastion" -o jsonpath="{.items[0].metadata.name}")
echo "Run 'ssh -p 2222 127.0.0.1' to use your application"
kubectl port-forward $POD_NAME 2222:22
Trying to connect like below:
➜ ssh -p 2211 [email protected]
The authenticity of host '[127.0.0.1]:2211 ([127.0.0.1]:2211)' can't be established.
RSA key fingerprint is SHA256:S44NDDfev4x8NCJHMVJgYXrhx4OS/SoYGer5TMGUgqg.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '[127.0.0.1]:2211' (RSA) to the list of known hosts.
[email protected]: Permission denied (publickey).
- I checked the Github API Key is correct
- I checked the SSH key in Github is there as well
- I also checked the users created in github-authorized-keys & bastion containers as well from Github team that is configured in values.yaml file
Is there anything missing from my end? can you point me somewhere to fix the issue?
Logs:
Connection closed by authenticating user azizzoaib786 127.0.0.1 port 59712 [preauth]
Connection closed by authenticating user azizzoaib786 127.0.0.1 port 59730 [preauth]
- Dominant language
- Mustache
- Stars
- 160
- Forks
- 60
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from cloudposse/charts
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
cloudposse/charts#282 ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 45/100
cloudposse/charts#280 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 52/100
cloudposse/charts#277 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 42/100
cloudposse/charts#266 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
cloudposse/charts#259 · 3 reactions ·
All issues in cloudposse/charts
Similar issues
-
cvss-severity:high devguard l3montree-cybersecurity/.../devguard-documentation pkg:oci/devguard-documen...ch=amd64&tag=main-amd64 risk:low state:open
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
l3montree-dev/devguard-documentation#396 · 1 comment ·
-
accepted enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
whizbang-lib/whizbang#2804 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 2 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
avniproject/avni-webapp#1861 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
avniproject/avni-client#2268 ·