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
Hi, The playbook works fine without the bastion but I'm trying to connect to a idrac using a bastion. Anyone have a solution? I tried with a variable in the inventory file and a ssh config file.
Variable in the inventory file: ansible_ssh_common_args= '-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ProxyCommand="ssh -W %h:%p -q bastion"'
Ssh config file:
Host bastion.*.ca
ProxyCommand none
User user
Host bastion
Hostname bastion.test.ca
ProxyCommand none
User user
ControlMaster auto
ControlPath ~/.ssh/master-%r@%h:%p
ControlPersist yes
Host *
ProxyCommand ssh -aY bastion -F config -W %h:%p
ForwardAgent yes
GSSAPIAuthentication no
VerifyHostKeyDNS no
HashKnownHosts no
TCPKeepAlive yes
ServerAliveInterval 60
Error message:
"msg": "Unable to communicate with iDRAC 10.0.0.250. This may be due to one of the following: Incorrect username or password, unreachable iDRAC IP or a failure in TLS/SSL handshake."
The text was updated successfully, but these errors were encountered:
Question
Hi, The playbook works fine without the bastion but I'm trying to connect to a idrac using a bastion. Anyone have a solution? I tried with a variable in the inventory file and a ssh config file.
Details
Variable in the inventory file:
ansible_ssh_common_args= '-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ProxyCommand="ssh -W %h:%p -q bastion"'
Ssh config file:
Error message:
"msg": "Unable to communicate with iDRAC 10.0.0.250. This may be due to one of the following: Incorrect username or password, unreachable iDRAC IP or a failure in TLS/SSL handshake."
The text was updated successfully, but these errors were encountered: