Zend certified PHP/Magento developer

Getting a password prompt even when key setup is completed

I have enabled the password-less ssh however I still get password prompts. I have checked the permissions for it also.

Below are the logs for the command ssh my.user@myhost01 cp -v ….

Executing: program /usr/bin/ssh host myhost01, user my.user, command scp -v -t /etc/ansible/config/
OpenSSH_8.0p1, OpenSSL 1.1.1k  FIPS 25 Mar 2021
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Reading configuration data /etc/ssh/ssh_config.d/05-redhat.conf
debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config
debug1: configuration requests final Match pass
debug1: re-parsing configuration
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Reading configuration data /etc/ssh/ssh_config.d/05-redhat.conf
debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config
debug1: Connecting to myhost01 [12.34.567.xxx] port 22.
debug1: Connection established.
debug1: identity file /home/home-user/.ssh/id_rsa type 0
debug1: identity file /home/home-user/.ssh/id_rsa-cert type -1
debug1: identity file /home/home-user/.ssh/id_dsa type -1
debug1: identity file /home/home-user/.ssh/id_dsa-cert type -1
debug1: identity file /home/home-user/.ssh/id_ecdsa type -1
debug1: identity file /home/home-user/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/home-user/.ssh/id_ed25519 type -1
debug1: identity file /home/home-user/.ssh/id_ed25519-cert type -1
debug1: identity file /home/home-user/.ssh/id_xmss type -1
debug1: identity file /home/home-user/.ssh/id_xmss-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.0
debug1: Remote protocol version 2.0, remote software version OpenSSH_8.0
debug1: match: OpenSSH_8.0 pat OpenSSH* compat 0x04000000
debug1: Authenticating to myhost01:22 as 'my.user'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: ecdsa-sha2-nistp256
debug1: kex: server->client cipher: aes256-gcm@openssh.com MAC: <implicit> compression: none
debug1: kex: client->server cipher: aes256-gcm@openssh.com MAC: <implicit> compression: none
debug1: kex: curve25519-sha256 need=32 dh_need=32
debug1: kex: curve25519-sha256 need=32 dh_need=32
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ecdsa-sha2-nistp256 SHA256:CfaM0GxaTlKofuHR5YiWxLxx1pXCNA9qHk8Ng9nvzgI
debug1: Host 'myhost01' is known and matches the ECDSA host key.
debug1: Found key in /home/home-user/.ssh/known_hosts:2
debug1: rekey out after 4294967296 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey in after 4294967296 blocks
debug1: Will attempt key: /home/home-user/.ssh/id_rsa RSA SHA256:PGX/Y49b7ZW9TfyGUqyh6A4PTrBxLeJwUDi0/JcJPDk
debug1: Will attempt key: /home/home-user/.ssh/id_dsa 
debug1: Will attempt key: /home/home-user/.ssh/id_ecdsa 
debug1: Will attempt key: /home/home-user/.ssh/id_ed25519 
debug1: Will attempt key: /home/home-user/.ssh/id_xmss 
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521>
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
debug1: Next authentication method: gssapi-with-mic
debug1: Unspecified GSS failure.  Minor code may provide more information
No Kerberos credentials available (default cache: FILE:/tmp/krb5cc_187)
debug1: Unspecified GSS failure.  Minor code may provide more information
No Kerberos credentials available (default cache: FILE:/tmp/krb5cc_187)
debug1: Next authentication method: publickey
debug1: Offering public key: /home/home-user/.ssh/id_rsa RSA SHA256:PGX/Y49b7ZW9TfyGUqyh6A4PTrBxLeJwUDi0/JcJPDk
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
debug1: Trying private key: /home/home-user/.ssh/id_dsa
debug1: Trying private key: /home/home-user/.ssh/id_ecdsa
debug1: Trying private key: /home/home-user/.ssh/id_ed25519
debug1: Trying private key: /home/home-user/.ssh/id_xmss
debug1: Next authentication method: password
debug1: read_passphrase: can't open /dev/tty: No such device or address
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
Permission denied, please try again.
debug1: read_passphrase: can't open /dev/tty: No such device or address
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
Permission denied, please try again.
debug1: read_passphrase: can't open /dev/tty: No such device or address
Received disconnect from 12.34.567.xxx port 22:2: Too many authentication failures
Disconnected from 12.34.567.xxx port 22
lost connection

Any idea what could be wrong?