define the .ssh folder path in jenkins shell script code example
Example: how to ssh with root user into a vm using jenkins
ssh -o "StrictHostKeyChecking no" your_remote_server
ssh -o "StrictHostKeyChecking no" your_remote_server