I'm making a pipeline where I need to connect from bitbucket pipelines to jump server inside of a bastion host server. The problem is Known Host in SSH isn't accepting my jump server's ip address.
Repository > Repository Settings > SSH Keys > Known Hosts
Known Host only accepts the ip address of bastion host server, the problem is it doesnt accept servers inside of bastion server.
Example:
Bastion Server IP: 54.222.222.11
Bation Server PORT: 8888
Jump Server IP: 172.222.222.1
Working format
54.222.222.11:8888 # Known Host accepts this format for bastion Host
Not working
172.222.222.1
54.222.222.11:8888 172.222.222.1
54.222.222.11 8888 172.222.222.1
172.222.222.1 54.222.222.11:8888
54.222.222.11:8888,172.222.222.1
54.222.222.11:8888-172.222.222.1
Please Help me
From Repository's Pipeline, I'm trying to connect to Jump Server.
I know this works because in my local machine, I can connect directly to Jump Server.