You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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]
The text was updated successfully, but these errors were encountered:
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).
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]
The text was updated successfully, but these errors were encountered: