Detect ip in bastion ssh connection chain