Jenkin update issue

Hi All,

I am getting below java error after updating Jenkins.

/usr/bin/scp
May 31, 2023 3:42:48 PM hudson.plugins.ec2.EC2Cloud
INFO: Copying remoting.jar to: /tmp
May 31, 2023 3:42:48 PM hudson.plugins.ec2.EC2Cloud
INFO: Launching remoting agent (via Trilead SSH2 Connection): java -jar /tmp/remoting.jar -workDir /home/ec2-user

HTTP ERROR 404 Not Found

please suggest what needs to be done