Questions tagged [bastion-host]
57 questions
0
votes
1 answer
userData is not getting updated automatically for Bastion Host created via AWS CDK
I have created a bastion host in AWS EC2 using BastionHostLinux class. There I've specified the userData(custom software I want to install) using this.bastionHost.instance.addUserData("my custom software")
However, the problem I'm facing is that…

Rama Rahul
- 93
- 7
0
votes
2 answers
Write a shell script file on bastion host create using CDK
In AWS, to gain access to our RDS instance we setup a dedicated EC2 bastion host that we securely access by invoking the SSM Agent in the EC2 dashboard.
This is done by writing a shell script after connecting to the bastion host, now the script…

Jordin Vell
- 141
- 1
- 2
- 11
0
votes
0 answers
Connect Java code with a bastion host in GCP
I have successfully completed this tutorial:
https://cloud.google.com/kubernetes-engine/docs/tutorials/private-cluster-bastion
Now that I have a bastion host running that connects to a private kubernetes cluster, I am looking for a way to use a java…

carlos palma
- 722
- 3
- 12
- 29
0
votes
1 answer
Problem setting up an ssh tunnelling/forwarding through bastion host
I have the following problem I'm trying to solve.
I wanted to use deployHQ to deploy code on commits to my repository.
deployHQ configuration asks for Hostname Port Username and no-password.
deployHW are using Keypairs for identity validation (and…

Joe
- 39
- 7
0
votes
0 answers
How can i share the ssh private key with multiple system users using the ssh agent?
I have a linux bastion server that acts as a gateway for administrators to access multiple servers via SSH.
I would like to give these system users ssh access to the servers through the gateway but prefer not share the private-key(s). Is there a way…

Rocky
- 21
- 2
0
votes
0 answers
How we can generate the token for oc cluster from the bastion node
I am writing some backup scripts on bastion node but need to know how we can generate the auto login token for kubeadmin in bash so that after login scripts get executed.
General error before login to cluster
“error: you must be logged in to the…
0
votes
0 answers
Why does retool on ssh tunnel / private RDS mysql instance suddenly stop firing queries in each session where it does to begin with
I have an instance of RDS MySQL running in private subnets, with a bastion host in public subnet.
I also have Retool, which is using an SSH key (provided by retool) and some IP addresses in a MySQL connection.
In Retool the set up of a mysql…

wonky89
- 1
0
votes
1 answer
Unable to use Ansible `copy` operation to EC2 host via bastion
I am trying to set up an EC2 instance VM on AWS behind a bastion. Ansible performance is very slow but bearable for most operations but file copy operations simply hang and I can't really see what the issue is. The role and playbook work fine…

jmkite
- 285
- 1
- 4
- 13
0
votes
0 answers
How to connect to SQL Server database behind bastion host (Windows)
I have a SQL Server database which I am connecting to via bastion host. Bastion server is a Windows server in AWS. So I need to first RDC to Windows bastion host from there I again need to RDC to the database server.
I have whitelisted my IP to…

Deepak nigam
- 99
- 1
- 15
0
votes
0 answers
Why cant I SSH from my AWS Bastion Host to my EKS node
I am deploying my AWS resources with Terraform, one of the resources happen to be of type aws_instance (EC2) this is acting as my Bastion Host. It is on the public subnet, I created a security group which allows SSH from my home IP. This security…

floormind
- 1,868
- 5
- 31
- 85
0
votes
1 answer
When using ping with ansible it returns `Cannot execute command-line and remote command.`
I want ansible to use .ssh/config for all the ssh connection as we are using proxyJump using bastian servers. I have a very simple inventory file.
[apps]
app[998:999]
when running the following command
ansible all -i ansible.cfg -m ping -vvvv
I…

Hamza Afridi
- 141
- 5
0
votes
1 answer
Visual Studio - connect to AWS instance via bastion server
I am developing some machine learning code and I just got an AWS instance for that. To access the instance, I need to
ssh from the local machine to a bastion server (which is also an AWS instance).
ssh from the bastion server to the development…

albus_c
- 6,292
- 14
- 36
- 77
0
votes
1 answer
Issue reaching boxes behind a bastion host with ansible was_ec2 dynamic inventory plugin
I have gone round a little and I can say this post is not a duplicate. I have been fairly using Ansible 2.9.x and connectivity to the bastion host has always worked fine for me using the ec2.py dynamic inventory . I am switching to the the ansible…

black sensei
- 6,528
- 22
- 109
- 188
0
votes
0 answers
Run Ansible from local system on remote hosts which are behind Bastions
I have multiple hosts and all of that hosts are behind their own bastion host, So every server has its own bastion host. Because of the single-tenant structure.
Now I want to run a command or playbook on all of these servers which are behind…

Gagangiri
- 23
- 6
0
votes
1 answer
Oracle Cloud port forwarding traffic to private VNC subnet
as shown in the picture below i want to open a vnc session with VNC-Viewer Client in Windows OS:
When i want to open a session in VNC-Viewer i get this Error:
My attemps to reach the private subnet:
Check jump: jump to ODI-Private from Bastion:…

aykon
- 55
- 1
- 8