PTA - Upgrade failed stuck on Testing connection to PTA secondary
129
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 16:05 PM
Symptom
When upgrading PTA, it is stuck on "Testing connection to PTA secondary".
Environment
12.0;12.2;12.6;13.0;13.2 Privileged Access Manager (PAM, self-hosted) PTA
PTA
Cause
On "Testing connection to PTA secondary" step, PTA run ssh connection to PTA Secondary and will try to login with root.
When testing ssh connection manually, it results with a warning.
e.g.
root@ptaserver# ssh {pta_secondary_server}
Warning: the ECDSA host key for '{pta_secondary_server}' differs from the key for the IP address 'XXX.XXX.XXX.XXX'
Offending key for IP in /root/.ssh/known_hosts:1
Matching host key in /etc/ssh/ssh_known_hosts:6
Are you sure you want to continue connecting (yes/no)?
PTA expects a password prompt in order for the upgrade process to continue.
e.g.
root@ptaserver# ssh {pta_secondary_server}
root@{pta_secondary_server}'s password:
When testing ssh connection manually, it results with a warning.
e.g.
root@ptaserver# ssh {pta_secondary_server}
Warning: the ECDSA host key for '{pta_secondary_server}' differs from the key for the IP address 'XXX.XXX.XXX.XXX'
Offending key for IP in /root/.ssh/known_hosts:1
Matching host key in /etc/ssh/ssh_known_hosts:6
Are you sure you want to continue connecting (yes/no)?
PTA expects a password prompt in order for the upgrade process to continue.
e.g.
root@ptaserver# ssh {pta_secondary_server}
root@{pta_secondary_server}'s password:
Resolution
- Make a back copy of /root/.ssh/known_hosts
- Manually edit /root/.ssh/known_hosts and delete the offending key in the line mentioned (line 1 in the above example)
- Test ssh connection again & ensure no warning
- Re run PTA upgrade script