Connection reset usually means there is some network error or your configuration is incorrect. Are you sure the system name is correct, the username/password are correct, etc. Connection reset means that there was a TCP RST packet sent, so something is off in your setup most likely. Without more information about your setup, it will be very difficult to help.
Hi
We are using username / password for connection.Source and destination server are AWS and telent is working fine on port 22.
Can you please share any steps required to configure at destination end if we are using Username and password.
for checking connection from jenkins server to destination server on port 22 .i have done telent its working fine but. getting below error in console while checking connection.
jenkins.plugins.publish_over.BapPublisherException: Failed to connect and initialize SSH connection. Message: [Failed to connect session for config [10_226_110_118_Prod]. Message [Session.connect: java.net.SocketException: Connection reset]]