The authenticity of host ... can't be established.
ED25519 key fingerprint is SHA256:jfwKE8.
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])?
prompt should send 'yes'
I tried different combinations of prompt 'the authencity', 'connecting', it triggers timeout.
when I accept the host key via switch cli, the command produces expected result, eg password is send connection established
TASK [SSH on SFTP for confirmation] ****
ok: [192.168.1.16]
fatal: [192.168.1.16]: FAILED! => {"changed": false, "msg": "command timeout triggered, timeout value is 30 secs.\nSee the timeout setting options in the Network Debug and Troubleshooting Guide."}
SUMMARY
ISSUE TYPE
COMPONENT NAME
ansible.netcommon.cli_command
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
Distributor ID: Debian Description: Debian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye
target OS: Aruba 6000 AOSCX
STEPS TO REPRODUCE
EXPECTED RESULTS
The authenticity of host ... can't be established. ED25519 key fingerprint is SHA256:jfwKE8. This key is not known by any other names. Are you sure you want to continue connecting (yes/no/[fingerprint])?
prompt should send 'yes'
I tried different combinations of prompt 'the authencity', 'connecting', it triggers timeout.
when I accept the host key via switch cli, the command produces expected result, eg password is send connection established
TASK [SSH on SFTP for confirmation] **** ok: [192.168.1.16]
TASK [debug] *** ok: [192.168.1.16] => { "msg": [ "sftpuser@2::251's password: ", "thepassword", "thepassword", "This service allows sftp connections only.", "Connection to 2::251 closed." ] }
ACTUAL RESULTS
fatal: [192.168.1.16]: FAILED! => {"changed": false, "msg": "command timeout triggered, timeout value is 30 secs.\nSee the timeout setting options in the Network Debug and Troubleshooting Guide."}