I am using jenkins to build and publish my project. I am using the Publish Over SSH plugin to push my artifacts to the server. I was able to configure only one ssh key for the plugin in the Jenkins setting . Is it possible to add multiple keys and multiple hosts to that plugin
Yes, you can add multiple keys and hosts to the plugin. After you install the plugin, open any job and go to configuration. Here you can add multiple servers (Hosts) and keys for each of the server.