How to connect to SSH shell using Jenkins

Viewed 25

I was having remote machine configured with ssh shell and i need to automate it with jenkins. but when i try to connect with ssh it is asking for password and i can't enter with the jenkins and ssh-keygen is already configured in my local machine.

What is the solution for this?

Here my jenkins is using a docker container. So, we cannot install sshpass and anyother commands because i cannot access to this docker file.

0 Answers
Related