I update my Jenkins from version 2.26 to version 2.330, when I deploy my java project and publish my jar file to remote servers through the Jenkins agent(slave) node, it is hanged, after a long long time, I got an error:
SSH: Connecting from host [xx-xx-xx-xx]
SSH: Connecting with configuration [my-server] ...
ERROR: Exception when publishing, exception message [Failed to add SSH key. Message [invalid privatekey: [B@28e21477]]
Build step 'Send build artifacts over SSH' changed build result to UNSTABLE
I have tested the login from agent node to remote host, and it worked well, it works well before I updated my Jenkins version.